diff options
Diffstat (limited to 'lib/libc/gen')
62 files changed, 166 insertions, 207 deletions
diff --git a/lib/libc/gen/__xuname.c b/lib/libc/gen/__xuname.c index d97c4ad..4d1be8c 100644 --- a/lib/libc/gen/__xuname.c +++ b/lib/libc/gen/__xuname.c @@ -33,9 +33,9 @@ #if defined(LIBC_SCCS) && !defined(lint) /*static char sccsid[] = "From: @(#)uname.c 8.1 (Berkeley) 1/4/94";*/ -static const char rcsid[] = - "$FreeBSD$"; #endif /* LIBC_SCCS and not lint */ +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); #include <sys/param.h> #include <sys/sysctl.h> diff --git a/lib/libc/gen/_pthread_stubs.c b/lib/libc/gen/_pthread_stubs.c index c8fc6ae..5935d58 100644 --- a/lib/libc/gen/_pthread_stubs.c +++ b/lib/libc/gen/_pthread_stubs.c @@ -22,10 +22,11 @@ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. - * - * $FreeBSD$ */ +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); + #include <signal.h> #include <pthread.h> #include <pthread_np.h> diff --git a/lib/libc/gen/_spinlock_stub.c b/lib/libc/gen/_spinlock_stub.c index 78c8dea..e53fdb4 100644 --- a/lib/libc/gen/_spinlock_stub.c +++ b/lib/libc/gen/_spinlock_stub.c @@ -28,11 +28,11 @@ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. - * - * $FreeBSD$ - * */ +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); + #include <stdio.h> #include "spinlock.h" diff --git a/lib/libc/gen/_thread_init.c b/lib/libc/gen/_thread_init.c index 1d2f15a..acaf65c 100644 --- a/lib/libc/gen/_thread_init.c +++ b/lib/libc/gen/_thread_init.c @@ -22,10 +22,11 @@ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. - * - * $FreeBSD$ */ +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); + #include <sys/types.h> __weak_reference(_thread_init_stub, _thread_init); diff --git a/lib/libc/gen/assert.c b/lib/libc/gen/assert.c index 6a293d7..117f0d8 100644 --- a/lib/libc/gen/assert.c +++ b/lib/libc/gen/assert.c @@ -31,12 +31,9 @@ * SUCH DAMAGE. */ -#if 0 #if defined(LIBC_SCCS) && !defined(lint) static char sccsid[] = "@(#)assert.c 8.1 (Berkeley) 6/4/93"; #endif /* LIBC_SCCS and not lint */ -#endif - #include <sys/cdefs.h> __FBSDID("$FreeBSD$"); diff --git a/lib/libc/gen/closedir.c b/lib/libc/gen/closedir.c index 317bbf8..11838d1 100644 --- a/lib/libc/gen/closedir.c +++ b/lib/libc/gen/closedir.c @@ -29,13 +29,13 @@ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. - * - * $FreeBSD$ */ #if defined(LIBC_SCCS) && !defined(lint) static char sccsid[] = "@(#)closedir.c 8.1 (Berkeley) 6/10/93"; #endif /* LIBC_SCCS and not lint */ +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); #include "namespace.h" #include <sys/types.h> diff --git a/lib/libc/gen/daemon.c b/lib/libc/gen/daemon.c index 6f1639f..315b827 100644 --- a/lib/libc/gen/daemon.c +++ b/lib/libc/gen/daemon.c @@ -29,13 +29,13 @@ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. - * - * $FreeBSD$ */ #if defined(LIBC_SCCS) && !defined(lint) static char sccsid[] = "@(#)daemon.c 8.1 (Berkeley) 6/4/93"; #endif /* LIBC_SCCS and not lint */ +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); #include "namespace.h" #include <fcntl.h> diff --git a/lib/libc/gen/devname.c b/lib/libc/gen/devname.c index c78ae2b..e5cc9df 100644 --- a/lib/libc/gen/devname.c +++ b/lib/libc/gen/devname.c @@ -29,13 +29,13 @@ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. - * - * $FreeBSD$ */ #if defined(LIBC_SCCS) && !defined(lint) static char sccsid[] = "@(#)devname.c 8.2 (Berkeley) 4/29/95"; #endif /* LIBC_SCCS and not lint */ +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); #include <sys/types.h> #include <sys/sysctl.h> diff --git a/lib/libc/gen/dlfcn.c b/lib/libc/gen/dlfcn.c index fd0be34..74cdc8b 100644 --- a/lib/libc/gen/dlfcn.c +++ b/lib/libc/gen/dlfcn.c @@ -22,16 +22,16 @@ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. - * - * $FreeBSD$ */ +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); + /* * Linkage to services provided by the dynamic linker. These are * implemented differently in ELF and a.out, because the dynamic * linkers have different interfaces. */ - #ifdef __ELF__ #include <dlfcn.h> diff --git a/lib/libc/gen/err.c b/lib/libc/gen/err.c index fd4135b..ae664a3 100644 --- a/lib/libc/gen/err.c +++ b/lib/libc/gen/err.c @@ -29,13 +29,13 @@ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. - * From: @(#)err.c 8.1 (Berkeley) 6/4/93 */ -#if defined(LIBC_RCS) && !defined(lint) -static const char rcsid[] = - "$FreeBSD$"; -#endif /* LIBC_RCS and not lint */ +#if defined(LIBC_SCCS) && !defined(lint)$ +static char sccsid[] = "@(#)err.c^I8.1 (Berkeley) 6/4/93";$ +#endif /* LIBC_SCCS and not lint */$ +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); #include "namespace.h" #include <err.h> diff --git a/lib/libc/gen/fmtcheck.c b/lib/libc/gen/fmtcheck.c index a7d81f5..9696334 100644 --- a/lib/libc/gen/fmtcheck.c +++ b/lib/libc/gen/fmtcheck.c @@ -1,5 +1,3 @@ -/* $NetBSD: fmtcheck.c,v 1.2 2000/11/01 01:17:20 briggs Exp $ */ - /*- * Copyright (c) 2000 The NetBSD Foundation, Inc. * All rights reserved. @@ -35,11 +33,9 @@ * POSSIBILITY OF SUCH DAMAGE. */ +/* $NetBSD: fmtcheck.c,v 1.2 2000/11/01 01:17:20 briggs Exp $ */ #include <sys/cdefs.h> -#ifndef lint -static const char rcsid[] = - "$FreeBSD$"; -#endif /* not lint */ +__FBSDID("$FreeBSD$"); #include "namespace.h" diff --git a/lib/libc/gen/ftok.c b/lib/libc/gen/ftok.c index 24cfe7d..81f7bf3 100644 --- a/lib/libc/gen/ftok.c +++ b/lib/libc/gen/ftok.c @@ -25,9 +25,8 @@ * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#if defined(LIBC_SCCS) && !defined(lint) -static char *rcsid = "$FreeBSD$"; -#endif /* LIBC_SCCS and not lint */ +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); #include <sys/types.h> #include <sys/stat.h> diff --git a/lib/libc/gen/getbootfile.c b/lib/libc/gen/getbootfile.c index c2d1558..2f134bd 100644 --- a/lib/libc/gen/getbootfile.c +++ b/lib/libc/gen/getbootfile.c @@ -32,10 +32,10 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -/*static char sccsid[] = "From: @(#)gethostname.c 8.1 (Berkeley) 6/4/93";*/ -static const char rcsid[] = - "$FreeBSD$"; +static char sccsid[] = "From: @(#)gethostname.c 8.1 (Berkeley) 6/4/93"; #endif /* LIBC_SCCS and not lint */ +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); #include <sys/param.h> #include <sys/sysctl.h> diff --git a/lib/libc/gen/getcap.c b/lib/libc/gen/getcap.c index 4500062..ad5f6b2 100644 --- a/lib/libc/gen/getcap.c +++ b/lib/libc/gen/getcap.c @@ -32,13 +32,13 @@ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. - * - * $FreeBSD$ */ #if defined(LIBC_SCCS) && !defined(lint) static char sccsid[] = "@(#)getcap.c 8.3 (Berkeley) 3/25/94"; #endif /* LIBC_SCCS and not lint */ +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); #include "namespace.h" #include <sys/types.h> @@ -69,9 +69,9 @@ static size_t topreclen; /* toprec length */ static char *toprec; /* Additional record specified by cgetset() */ static int gottoprec; /* Flag indicating retrieval of toprecord */ -static int cdbget __P((DB *, char **, char *)); -static int getent __P((char **, u_int *, char **, int, char *, int, char *)); -static int nfcmp __P((char *, char *)); +static int cdbget(DB *, char **, char *); +static int getent(char **, u_int *, char **, int, char *, int, char *); +static int nfcmp(char *, char *); /* * Cgetset() allows the addition of a user specified buffer to be added @@ -116,7 +116,7 @@ cgetcap(buf, cap, type) char *buf, *cap; int type; { - register char *bp, *cp; + char *bp, *cp; bp = buf; for (;;) { @@ -197,7 +197,7 @@ getent(cap, len, db_array, fd, name, depth, nfield) int fd, depth; { DB *capdbp; - register char *r_end, *rp, **db_p; + char *r_end, *rp, **db_p; int myfd, eof, foundit, retval, clen; char *record, *cbuf; int tc_not_resolved; @@ -282,8 +282,8 @@ getent(cap, len, db_array, fd, name, depth, nfield) */ { char buf[BUFSIZ]; - register char *b_end, *bp; - register int c; + char *b_end, *bp; + int c; /* * Loop invariants: @@ -395,8 +395,8 @@ getent(cap, len, db_array, fd, name, depth, nfield) * references in it ... */ tc_exp: { - register char *newicap, *s; - register int newilen; + char *newicap, *s; + int newilen; u_int ilen; int diff, iret, tclen; char *icap, *scan, *tc, *tcstart, *tcend; @@ -576,7 +576,7 @@ int cgetmatch(buf, name) char *buf, *name; { - register char *np, *bp; + char *np, *bp; /* * Start search at beginning of record. @@ -646,7 +646,7 @@ cgetclose() */ int cgetnext(bp, db_array) - register char **bp; + char **bp; char **db_array; { size_t len; @@ -789,8 +789,8 @@ cgetstr(buf, cap, str) char *buf, *cap; char **str; { - register u_int m_room; - register char *bp, *mp; + u_int m_room; + char *bp, *mp; int len; char *mem; @@ -833,7 +833,7 @@ cgetstr(buf, cap, str) if (*bp == ':' || *bp == '\0') break; /* drop unfinished escape */ if ('0' <= *bp && *bp <= '7') { - register int n, i; + int n, i; n = 0; i = 3; /* maximum of three octal digits */ @@ -917,8 +917,8 @@ int cgetustr(buf, cap, str) char *buf, *cap, **str; { - register u_int m_room; - register char *bp, *mp; + u_int m_room; + char *bp, *mp; int len; char *mem; @@ -987,9 +987,9 @@ cgetnum(buf, cap, num) char *buf, *cap; long *num; { - register long n; - register int base, digit; - register char *bp; + long n; + int base, digit; + char *bp; /* * Find numeric capability cap diff --git a/lib/libc/gen/getdomainname.c b/lib/libc/gen/getdomainname.c index aafb010..fa9679a 100644 --- a/lib/libc/gen/getdomainname.c +++ b/lib/libc/gen/getdomainname.c @@ -32,12 +32,10 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -/* -static char sccsid[] = "From: @(#)gethostname.c 8.1 (Berkeley) 6/4/93"; -*/ -static const char rcsid[] = - "$FreeBSD$"; +static char sccsid[] = "@(#)gethostname.c 8.1 (Berkeley) 6/4/93"; #endif /* LIBC_SCCS and not lint */ +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); #include <sys/param.h> #include <sys/sysctl.h> diff --git a/lib/libc/gen/getgrouplist.c b/lib/libc/gen/getgrouplist.c index 0de6c55..5817feb 100644 --- a/lib/libc/gen/getgrouplist.c +++ b/lib/libc/gen/getgrouplist.c @@ -31,12 +31,11 @@ * SUCH DAMAGE. */ -#include <sys/cdefs.h> -__FBSDID("$FreeBSD$"); - #if defined(LIBC_SCCS) && !defined(lint) static char sccsid[] = "@(#)getgrouplist.c 8.2 (Berkeley) 12/8/94"; -#endif +#endif /* LIBC_SCCS and not lint */$ +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); /* * get credential diff --git a/lib/libc/gen/getlogin.c b/lib/libc/gen/getlogin.c index 10261ae..ea895ba 100644 --- a/lib/libc/gen/getlogin.c +++ b/lib/libc/gen/getlogin.c @@ -29,13 +29,13 @@ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. - * - * $FreeBSD$ */ #if defined(LIBC_SCCS) && !defined(lint) static char sccsid[] = "@(#)getlogin.c 8.1 (Berkeley) 6/4/93"; #endif /* LIBC_SCCS and not lint */ +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); #include <sys/param.h> #include <errno.h> diff --git a/lib/libc/gen/getmntinfo.c b/lib/libc/gen/getmntinfo.c index 924790d..636039a 100644 --- a/lib/libc/gen/getmntinfo.c +++ b/lib/libc/gen/getmntinfo.c @@ -29,13 +29,13 @@ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. - * - * $FreeBSD$ */ #if defined(LIBC_SCCS) && !defined(lint) static char sccsid[] = "@(#)getmntinfo.c 8.1 (Berkeley) 6/4/93"; #endif /* LIBC_SCCS and not lint */ +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); #include <sys/param.h> #include <sys/ucred.h> diff --git a/lib/libc/gen/getobjformat.c b/lib/libc/gen/getobjformat.c index 98e6ab0..de5c9c1 100644 --- a/lib/libc/gen/getobjformat.c +++ b/lib/libc/gen/getobjformat.c @@ -22,10 +22,11 @@ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. - * - * $FreeBSD$ */ +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); + #include <sys/param.h> #include <objformat.h> #include <stdio.h> diff --git a/lib/libc/gen/getosreldate.c b/lib/libc/gen/getosreldate.c index b6e91f4..6cc3f5c 100644 --- a/lib/libc/gen/getosreldate.c +++ b/lib/libc/gen/getosreldate.c @@ -32,12 +32,10 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -/* From: static char sccsid[] = "@(#)gethostid.c 8.1 (Berkeley) 6/2/93"; -*/ -static const char rcsid[] = - "$FreeBSD$"; #endif /* LIBC_SCCS and not lint */ +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); #include <sys/param.h> #include <sys/sysctl.h> diff --git a/lib/libc/gen/getpagesize.c b/lib/libc/gen/getpagesize.c index 0087feb..6963cfd 100644 --- a/lib/libc/gen/getpagesize.c +++ b/lib/libc/gen/getpagesize.c @@ -29,13 +29,13 @@ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. - * - * $FreeBSD$ */ #if defined(LIBC_SCCS) && !defined(lint) static char sccsid[] = "@(#)getpagesize.c 8.1 (Berkeley) 6/4/93"; #endif /* LIBC_SCCS and not lint */ +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); #include <sys/param.h> #include <sys/sysctl.h> diff --git a/lib/libc/gen/getpeereid.c b/lib/libc/gen/getpeereid.c index bd070db..33a67da 100644 --- a/lib/libc/gen/getpeereid.c +++ b/lib/libc/gen/getpeereid.c @@ -24,10 +24,7 @@ * SUCH DAMAGE. */ -#if defined(LIBC_RCS) && !defined(lint) -static const char rcsid[] = - "$FreeBSD$"; -#endif /* LIBC_RCS and not lint */ +__FBSDID("$FreeBSD$"); #include <sys/param.h> #include <sys/socket.h> diff --git a/lib/libc/gen/getprogname.c b/lib/libc/gen/getprogname.c index 7edf998..b0a8dec 100644 --- a/lib/libc/gen/getprogname.c +++ b/lib/libc/gen/getprogname.c @@ -1,7 +1,5 @@ -#if defined(LIBC_RCS) && !defined(lint) -static const char rcsid[] = - "$FreeBSD$"; -#endif /* LIBC_RCS and not lint */ +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); #include <stdlib.h> diff --git a/lib/libc/gen/getvfsbyname.c b/lib/libc/gen/getvfsbyname.c index a8f6913..eb6f26f 100644 --- a/lib/libc/gen/getvfsbyname.c +++ b/lib/libc/gen/getvfsbyname.c @@ -31,13 +31,11 @@ * SUCH DAMAGE. */ -#ifndef lint -#if 0 +#if defined(LIBC_SCCS) && !defined(lint) static char sccsid[] = "@(#)kvm_getvfsbyname.c 8.1 (Berkeley) 4/3/95"; -#endif -static const char rcsid[] = - "$FreeBSD$"; -#endif /* not lint */ +#endif /* LIBC_SCCS and not lint */ +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); #include <sys/param.h> #include <sys/mount.h> diff --git a/lib/libc/gen/getvfsent.c b/lib/libc/gen/getvfsent.c index 2b8998c..140664b 100644 --- a/lib/libc/gen/getvfsent.c +++ b/lib/libc/gen/getvfsent.c @@ -3,9 +3,11 @@ * Written September 1994 by Garrett A. Wollman * This file is in the public domain. * - * $FreeBSD$ */ +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); + #include <sys/param.h> #include <sys/types.h> #include <sys/mount.h> diff --git a/lib/libc/gen/initgroups.c b/lib/libc/gen/initgroups.c index 16ffb49..3a3f513 100644 --- a/lib/libc/gen/initgroups.c +++ b/lib/libc/gen/initgroups.c @@ -31,12 +31,11 @@ * SUCH DAMAGE. */ -#include <sys/cdefs.h> -__FBSDID("$FreeBSD$"); - #if defined(LIBC_SCCS) && !defined(lint) static char sccsid[] = "@(#)initgroups.c 8.1 (Berkeley) 6/4/93"; #endif +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); #include <sys/param.h> diff --git a/lib/libc/gen/isatty.c b/lib/libc/gen/isatty.c index 2339c3a..c70cb1a 100644 --- a/lib/libc/gen/isatty.c +++ b/lib/libc/gen/isatty.c @@ -29,13 +29,13 @@ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. - * - * $FreeBSD$ */ #if defined(LIBC_SCCS) && !defined(lint) static char sccsid[] = "@(#)isatty.c 8.1 (Berkeley) 6/4/93"; #endif /* LIBC_SCCS and not lint */ +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); #include <termios.h> #include <unistd.h> diff --git a/lib/libc/gen/lockf.c b/lib/libc/gen/lockf.c index ea19a77..c448f18 100644 --- a/lib/libc/gen/lockf.c +++ b/lib/libc/gen/lockf.c @@ -1,5 +1,3 @@ -/* $NetBSD: lockf.c,v 1.1 1997/12/20 20:23:18 kleink Exp $ */ - /*- * Copyright (c) 1997 The NetBSD Foundation, Inc. * All rights reserved. @@ -36,10 +34,9 @@ * POSSIBILITY OF SUCH DAMAGE. */ -#if defined(LIBC_SCCS) && !defined(lint) -static const char rcsid[]= - "$FreeBSD$"; -#endif +/* $NetBSD: lockf.c,v 1.1 1997/12/20 20:23:18 kleink Exp $ */ +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); #include "namespace.h" #include <errno.h> diff --git a/lib/libc/gen/ntp_gettime.c b/lib/libc/gen/ntp_gettime.c index 3bb71c1..b0b6e14 100644 --- a/lib/libc/gen/ntp_gettime.c +++ b/lib/libc/gen/ntp_gettime.c @@ -31,10 +31,8 @@ * SUCH DAMAGE. */ -#if defined(LIBC_SCCS) && !defined(lint) -static const char rcsid[] = - "$FreeBSD$"; -#endif /* LIBC_SCCS and not lint */ +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); #include <sys/param.h> #include <sys/sysctl.h> diff --git a/lib/libc/gen/opendir.c b/lib/libc/gen/opendir.c index d1762f5..ba97349 100644 --- a/lib/libc/gen/opendir.c +++ b/lib/libc/gen/opendir.c @@ -29,13 +29,13 @@ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. - * - * $FreeBSD$ */ #if defined(LIBC_SCCS) && !defined(lint) static char sccsid[] = "@(#)opendir.c 8.8 (Berkeley) 5/1/95"; #endif /* LIBC_SCCS and not lint */ +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); #include "namespace.h" #include <sys/param.h> diff --git a/lib/libc/gen/pause.c b/lib/libc/gen/pause.c index ca98a65..f1b5c25 100644 --- a/lib/libc/gen/pause.c +++ b/lib/libc/gen/pause.c @@ -29,13 +29,13 @@ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. - * - * $FreeBSD$ */ #if defined(LIBC_SCCS) && !defined(lint) static char sccsid[] = "@(#)pause.c 8.1 (Berkeley) 6/4/93"; #endif /* LIBC_SCCS and not lint */ +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); #include <signal.h> #include <unistd.h> diff --git a/lib/libc/gen/pmadvise.c b/lib/libc/gen/pmadvise.c index bcd1520..4024d64 100644 --- a/lib/libc/gen/pmadvise.c +++ b/lib/libc/gen/pmadvise.c @@ -2,9 +2,11 @@ * The contents of this file are in the public domain. * Written by Garrett A. Wollman, 2000-10-07. * - * $FreeBSD$ */ +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); + #include <sys/mman.h> int diff --git a/lib/libc/gen/posixshm.c b/lib/libc/gen/posixshm.c index 51713f2..05fc1c9 100644 --- a/lib/libc/gen/posixshm.c +++ b/lib/libc/gen/posixshm.c @@ -25,10 +25,11 @@ * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. - * - * $FreeBSD$ */ +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); + #include "namespace.h" #include <sys/types.h> #include <sys/fcntl.h> diff --git a/lib/libc/gen/pselect.c b/lib/libc/gen/pselect.c index abf273f..737631f 100644 --- a/lib/libc/gen/pselect.c +++ b/lib/libc/gen/pselect.c @@ -25,10 +25,11 @@ * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. - * - * $FreeBSD$ */ +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); + #include "namespace.h" #include <sys/select.h> #include <sys/time.h> diff --git a/lib/libc/gen/pw_scan.c b/lib/libc/gen/pw_scan.c index 9db291d..24fce57 100644 --- a/lib/libc/gen/pw_scan.c +++ b/lib/libc/gen/pw_scan.c @@ -31,13 +31,11 @@ * SUCH DAMAGE. */ -#ifndef lint -#if 0 +#if defined(LIBC_SCCS) && !defined(lint) static char sccsid[] = "@(#)pw_scan.c 8.3 (Berkeley) 4/2/94"; -#endif -static const char rcsid[] = - "$FreeBSD$"; -#endif /* not lint */ +#endif /* LIBC_SCCS and not lint */ +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); /* * This module is used to "verify" password entries by chpass(1) and diff --git a/lib/libc/gen/readdir.c b/lib/libc/gen/readdir.c index 9698415..bb0d897 100644 --- a/lib/libc/gen/readdir.c +++ b/lib/libc/gen/readdir.c @@ -29,14 +29,13 @@ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. - * - * $FreeBSD$ - * */ #if defined(LIBC_SCCS) && !defined(lint) static char sccsid[] = "@(#)readdir.c 8.3 (Berkeley) 9/29/94"; #endif /* LIBC_SCCS and not lint */ +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); #include "namespace.h" #include <sys/param.h> diff --git a/lib/libc/gen/rewinddir.c b/lib/libc/gen/rewinddir.c index 3796c03..294301e 100644 --- a/lib/libc/gen/rewinddir.c +++ b/lib/libc/gen/rewinddir.c @@ -29,13 +29,13 @@ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. - * - * $FreeBSD$ */ #if defined(LIBC_SCCS) && !defined(lint) static char sccsid[] = "@(#)rewinddir.c 8.1 (Berkeley) 6/8/93"; #endif /* LIBC_SCCS and not lint */ +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); #include <sys/types.h> #include <dirent.h> diff --git a/lib/libc/gen/seekdir.c b/lib/libc/gen/seekdir.c index 2057b98..e6fbf10 100644 --- a/lib/libc/gen/seekdir.c +++ b/lib/libc/gen/seekdir.c @@ -29,13 +29,13 @@ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. - * - * $FreeBSD$ */ #if defined(LIBC_SCCS) && !defined(lint) static char sccsid[] = "@(#)seekdir.c 8.1 (Berkeley) 6/4/93"; #endif /* LIBC_SCCS and not lint */ +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); #include "namespace.h" #include <sys/param.h> diff --git a/lib/libc/gen/setdomainname.c b/lib/libc/gen/setdomainname.c index 8d46166..90d5be8 100644 --- a/lib/libc/gen/setdomainname.c +++ b/lib/libc/gen/setdomainname.c @@ -32,12 +32,10 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -/* -static char sccsid[] = "From: @(#)sethostname.c 8.1 (Berkeley) 6/4/93"; -*/ -static const char rcsid[] = - "$FreeBSD$"; +static char sccsid[] = "@(#)sethostname.c 8.1 (Berkeley) 6/4/93"; #endif /* LIBC_SCCS and not lint */ +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); #include <sys/param.h> #include <sys/sysctl.h> diff --git a/lib/libc/gen/setjmperr.c b/lib/libc/gen/setjmperr.c index fd69cdb..917a21c 100644 --- a/lib/libc/gen/setjmperr.c +++ b/lib/libc/gen/setjmperr.c @@ -29,13 +29,13 @@ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. - * - * $FreeBSD$ */ #if defined(LIBC_SCCS) && !defined(lint) static char sccsid[] = "@(#)setjmperr.c 8.1 (Berkeley) 6/4/93"; #endif /* LIBC_SCCS and not lint */ +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); /* * This routine is called from longjmp() when an error occurs. diff --git a/lib/libc/gen/setproctitle.c b/lib/libc/gen/setproctitle.c index 6b71d53..b9b8418 100644 --- a/lib/libc/gen/setproctitle.c +++ b/lib/libc/gen/setproctitle.c @@ -13,10 +13,11 @@ * documentation and/or other materials provided with the distribution. * 3. Absolutely no warranty of function or purpose is made by the author * Peter Wemm. - * - * $FreeBSD$ */ +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); + #include <sys/types.h> #include <sys/param.h> #include <sys/exec.h> diff --git a/lib/libc/gen/setprogname.c b/lib/libc/gen/setprogname.c index 8de79a3..5be00fa 100644 --- a/lib/libc/gen/setprogname.c +++ b/lib/libc/gen/setprogname.c @@ -1,7 +1,5 @@ -#if defined(LIBC_RCS) && !defined(lint) -static const char rcsid[] = - "$FreeBSD$"; -#endif /* LIBC_RCS and not lint */ +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); #include <stdlib.h> #include <string.h> diff --git a/lib/libc/gen/shmat.c b/lib/libc/gen/shmat.c index 45b9143..591c03e 100644 --- a/lib/libc/gen/shmat.c +++ b/lib/libc/gen/shmat.c @@ -1,6 +1,5 @@ -#if defined(LIBC_SCCS) && !defined(lint) -static char *rcsid = "$FreeBSD$"; -#endif /* LIBC_SCCS and not lint */ +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); #include <sys/types.h> #include <sys/ipc.h> diff --git a/lib/libc/gen/shmctl.c b/lib/libc/gen/shmctl.c index eae9fbb..8f34e71 100644 --- a/lib/libc/gen/shmctl.c +++ b/lib/libc/gen/shmctl.c @@ -1,6 +1,5 @@ -#if defined(LIBC_SCCS) && !defined(lint) -static char *rcsid = "$FreeBSD$"; -#endif /* LIBC_SCCS and not lint */ +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); #include <sys/types.h> #include <sys/ipc.h> diff --git a/lib/libc/gen/shmdt.c b/lib/libc/gen/shmdt.c index f39ad18..52faa65 100644 --- a/lib/libc/gen/shmdt.c +++ b/lib/libc/gen/shmdt.c @@ -1,6 +1,5 @@ -#if defined(LIBC_SCCS) && !defined(lint) -static char *rcsid = "$FreeBSD$"; -#endif /* LIBC_SCCS and not lint */ +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); #include <sys/types.h> #include <sys/ipc.h> diff --git a/lib/libc/gen/shmget.c b/lib/libc/gen/shmget.c index 8976d1c..a6fa7f2 100644 --- a/lib/libc/gen/shmget.c +++ b/lib/libc/gen/shmget.c @@ -1,6 +1,5 @@ -#if defined(LIBC_SCCS) && !defined(lint) -static char *rcsid = "$FreeBSD$"; -#endif /* LIBC_SCCS and not lint */ +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); #include <sys/types.h> #include <sys/ipc.h> diff --git a/lib/libc/gen/siginterrupt.c b/lib/libc/gen/siginterrupt.c index 245d738..8269499 100644 --- a/lib/libc/gen/siginterrupt.c +++ b/lib/libc/gen/siginterrupt.c @@ -29,13 +29,13 @@ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. - * - * $FreeBSD$ */ #if defined(LIBC_SCCS) && !defined(lint) static char sccsid[] = "@(#)siginterrupt.c 8.1 (Berkeley) 6/4/93"; #endif /* LIBC_SCCS and not lint */ +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); #include "namespace.h" #include <signal.h> diff --git a/lib/libc/gen/signal.c b/lib/libc/gen/signal.c index 5b3d71a..d954cd4 100644 --- a/lib/libc/gen/signal.c +++ b/lib/libc/gen/signal.c @@ -29,13 +29,13 @@ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. - * - * $FreeBSD$ */ #if defined(LIBC_SCCS) && !defined(lint) static char sccsid[] = "@(#)signal.c 8.1 (Berkeley) 6/4/93"; #endif /* LIBC_SCCS and not lint */ +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); /* * Almost backwards compatible signal. diff --git a/lib/libc/gen/sigsetops.c b/lib/libc/gen/sigsetops.c index ffba20c..38014da 100644 --- a/lib/libc/gen/sigsetops.c +++ b/lib/libc/gen/sigsetops.c @@ -34,12 +34,10 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -#if 0 static char sccsid[] = "@(#)sigsetops.c 8.1 (Berkeley) 6/4/93"; -#endif -static const char rcsid[] = - "$FreeBSD$"; #endif /* LIBC_SCCS and not lint */ +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); #include <errno.h> #include <signal.h> diff --git a/lib/libc/gen/sleep.c b/lib/libc/gen/sleep.c index 701eccd..71318ce 100644 --- a/lib/libc/gen/sleep.c +++ b/lib/libc/gen/sleep.c @@ -32,12 +32,10 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -#if 0 static char sccsid[] = "@(#)sleep.c 8.1 (Berkeley) 6/4/93"; -#endif -static char rcsid[] = - "$FreeBSD$"; #endif /* LIBC_SCCS and not lint */ +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); #include "namespace.h" #include <errno.h> diff --git a/lib/libc/gen/stringlist.c b/lib/libc/gen/stringlist.c index abe4e00..f4d4467 100644 --- a/lib/libc/gen/stringlist.c +++ b/lib/libc/gen/stringlist.c @@ -1,5 +1,3 @@ -/* $NetBSD: stringlist.c,v 1.2 1997/01/17 07:26:20 lukem Exp $ */ - /* * Copyright (c) 1994 Christos Zoulas * All rights reserved. @@ -31,12 +29,9 @@ * SUCH DAMAGE. */ -#if 0 #if defined(LIBC_SCCS) && !defined(lint) static char *rcsid = "$NetBSD: stringlist.c,v 1.2 1997/01/17 07:26:20 lukem Exp $"; #endif /* LIBC_SCCS and not lint */ -#endif - #include <sys/cdefs.h> __FBSDID("$FreeBSD$"); diff --git a/lib/libc/gen/strtofflags.c b/lib/libc/gen/strtofflags.c index 4c9e8d5..292f1c5 100644 --- a/lib/libc/gen/strtofflags.c +++ b/lib/libc/gen/strtofflags.c @@ -31,14 +31,11 @@ * SUCH DAMAGE. */ -#ifndef lint -#if 0 +#if defined(LIBC_SCCS) && !defined(lint) static char sccsid[] = "@(#)stat_flags.c 8.1 (Berkeley) 5/31/93"; -#else -static const char rcsid[] = - "$FreeBSD$"; -#endif -#endif /* not lint */ +#endif /* LIBC_SCCS and not lint */ +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); #include <sys/types.h> #include <sys/stat.h> diff --git a/lib/libc/gen/sysconf.c b/lib/libc/gen/sysconf.c index 1aa761d..fc3a38d 100644 --- a/lib/libc/gen/sysconf.c +++ b/lib/libc/gen/sysconf.c @@ -37,11 +37,8 @@ #if defined(LIBC_SCCS) && !defined(lint) static char sccsid[] = "@(#)sysconf.c 8.2 (Berkeley) 3/20/94"; #endif /* LIBC_SCCS and not lint */ - -#if defined(LIBC_RCS) && !defined(lint) -static const char rcsid[] = - "$FreeBSD$"; -#endif /* LIBC_RCS and not lint */ +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); #include <sys/_posix.h> #include <sys/param.h> diff --git a/lib/libc/gen/sysctlbyname.c b/lib/libc/gen/sysctlbyname.c index 3d19ca2..4510fe0 100644 --- a/lib/libc/gen/sysctlbyname.c +++ b/lib/libc/gen/sysctlbyname.c @@ -6,9 +6,11 @@ * this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp * ---------------------------------------------------------------------------- * - * $FreeBSD$ - * */ + +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); + #include <sys/types.h> #include <sys/sysctl.h> #include <string.h> diff --git a/lib/libc/gen/sysctlnametomib.c b/lib/libc/gen/sysctlnametomib.c index 17a2a1e..b84bafe 100644 --- a/lib/libc/gen/sysctlnametomib.c +++ b/lib/libc/gen/sysctlnametomib.c @@ -22,10 +22,11 @@ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. - * - * $FreeBSD$ */ +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); + #include <sys/types.h> #include <sys/sysctl.h> diff --git a/lib/libc/gen/telldir.c b/lib/libc/gen/telldir.c index 6661c23..170e547 100644 --- a/lib/libc/gen/telldir.c +++ b/lib/libc/gen/telldir.c @@ -29,13 +29,13 @@ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. - * - * $FreeBSD$ */ #if defined(LIBC_SCCS) && !defined(lint) static char sccsid[] = "@(#)telldir.c 8.1 (Berkeley) 6/4/93"; #endif /* LIBC_SCCS and not lint */ +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); #include "namespace.h" #include <sys/param.h> diff --git a/lib/libc/gen/termios.c b/lib/libc/gen/termios.c index b262305..592d7bf 100644 --- a/lib/libc/gen/termios.c +++ b/lib/libc/gen/termios.c @@ -29,13 +29,13 @@ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. - * - * $FreeBSD$ */ #if defined(LIBC_SCCS) && !defined(lint) static char sccsid[] = "@(#)termios.c 8.2 (Berkeley) 2/21/94"; #endif /* LIBC_SCCS and not lint */ +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); #include "namespace.h" #include <sys/types.h> diff --git a/lib/libc/gen/uname.c b/lib/libc/gen/uname.c index 75a3f189..b5d5af3 100644 --- a/lib/libc/gen/uname.c +++ b/lib/libc/gen/uname.c @@ -32,10 +32,10 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -/*static char sccsid[] = "From: @(#)uname.c 8.1 (Berkeley) 1/4/94";*/ -static const char rcsid[] = - "$FreeBSD$"; +static char sccsid[] = "From: @(#)uname.c 8.1 (Berkeley) 1/4/94"; #endif /* LIBC_SCCS and not lint */ +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); #define uname wrapped_uname #include <sys/param.h> diff --git a/lib/libc/gen/usleep.c b/lib/libc/gen/usleep.c index 647b5c0..7de9d94 100644 --- a/lib/libc/gen/usleep.c +++ b/lib/libc/gen/usleep.c @@ -32,12 +32,10 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -#if 0 static char sccsid[] = "@(#)usleep.c 8.1 (Berkeley) 6/4/93"; -#endif -static char rcsid[] = - "$FreeBSD$"; #endif /* LIBC_SCCS and not lint */ +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); #include "namespace.h" #include <time.h> diff --git a/lib/libc/gen/wait.c b/lib/libc/gen/wait.c index baba6cd..f1711cd 100644 --- a/lib/libc/gen/wait.c +++ b/lib/libc/gen/wait.c @@ -29,13 +29,13 @@ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. - * - * $FreeBSD$ */ #if defined(LIBC_SCCS) && !defined(lint) static char sccsid[] = "@(#)wait.c 8.1 (Berkeley) 6/4/93"; #endif /* LIBC_SCCS and not lint */ +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); #include "namespace.h" #include <sys/types.h> diff --git a/lib/libc/gen/wait3.c b/lib/libc/gen/wait3.c index 21623d4..edfd227 100644 --- a/lib/libc/gen/wait3.c +++ b/lib/libc/gen/wait3.c @@ -29,13 +29,13 @@ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. - * - * $FreeBSD$ */ #if defined(LIBC_SCCS) && !defined(lint) static char sccsid[] = "@(#)wait3.c 8.1 (Berkeley) 6/4/93"; #endif /* LIBC_SCCS and not lint */ +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); #include "namespace.h" #include <sys/types.h> diff --git a/lib/libc/gen/waitpid.c b/lib/libc/gen/waitpid.c index fbdf16b..ecb0e4d 100644 --- a/lib/libc/gen/waitpid.c +++ b/lib/libc/gen/waitpid.c @@ -29,13 +29,13 @@ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. - * - * $FreeBSD$ */ #if defined(LIBC_SCCS) && !defined(lint) static char sccsid[] = "@(#)waitpid.c 8.1 (Berkeley) 6/4/93"; #endif /* LIBC_SCCS and not lint */ +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); #include "namespace.h" #include <sys/types.h> |