diff options
author | obrien <obrien@FreeBSD.org> | 2002-03-22 23:18:37 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2002-03-22 23:18:37 +0000 |
commit | 074d88cd27d461e344257df6b629e576b48285a6 (patch) | |
tree | 914000b7419b1d9975ed0e7812eb763fcb96640a /lib/libc | |
parent | 4787ceffe13c80e427cb2352d31b96463594a689 (diff) | |
download | FreeBSD-src-074d88cd27d461e344257df6b629e576b48285a6.zip FreeBSD-src-074d88cd27d461e344257df6b629e576b48285a6.tar.gz |
Fix the style of the SCM ID's.
I believe have made all of libc .c's as consistent as possible.
Diffstat (limited to 'lib/libc')
54 files changed, 138 insertions, 117 deletions
diff --git a/lib/libc/rpc/auth_des.c b/lib/libc/rpc/auth_des.c index c771f31..a8f3b27 100644 --- a/lib/libc/rpc/auth_des.c +++ b/lib/libc/rpc/auth_des.c @@ -1,4 +1,3 @@ - /* * Sun RPC is a product of Sun Microsystems, Inc. and is provided for * unrestricted use provided that this legend is included on all tape @@ -33,6 +32,7 @@ /* * auth_des.c, client-side implementation of DES authentication */ + #include "namespace.h" #include "reentrant.h" #include <err.h> @@ -55,8 +55,9 @@ #if defined(LIBC_SCCS) && !defined(lint) /* from: static char sccsid[] = "@(#)auth_des.c 2.2 88/07/29 4.0 RPCSRC; from 1.9 88/02/08 SMI"; */ -static const char rcsid[] = "$FreeBSD$"; #endif +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); #define USEC_PER_SEC 1000000 #define RTIME_TIMEOUT 5 /* seconds to wait for sync */ diff --git a/lib/libc/rpc/auth_none.c b/lib/libc/rpc/auth_none.c index 666c8d7..e766343 100644 --- a/lib/libc/rpc/auth_none.c +++ b/lib/libc/rpc/auth_none.c @@ -29,12 +29,12 @@ * Mountain View, California 94043 */ -#include <sys/cdefs.h> #if defined(LIBC_SCCS) && !defined(lint) -static char *rcsid = "$FreeBSD$"; static char *sccsid = "@(#)auth_none.c 1.19 87/08/11 Copyr 1984 Sun Micro"; static char *sccsid = "@(#)auth_none.c 2.1 88/07/29 4.0 RPCSRC"; #endif +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); /* * auth_none.c diff --git a/lib/libc/rpc/auth_time.c b/lib/libc/rpc/auth_time.c index d142769..264b368 100644 --- a/lib/libc/rpc/auth_time.c +++ b/lib/libc/rpc/auth_time.c @@ -25,9 +25,11 @@ * and destroyed. Two strings "netid" and "uaddr" are malloc'd * and returned. The SIGALRM processing is modified only if * needed to deal with TCP connections. - * - * $FreeBSD$ */ + +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); + #include "namespace.h" #include <stdio.h> #include <syslog.h> diff --git a/lib/libc/rpc/auth_unix.c b/lib/libc/rpc/auth_unix.c index 0bf99b2..4885ece 100644 --- a/lib/libc/rpc/auth_unix.c +++ b/lib/libc/rpc/auth_unix.c @@ -29,12 +29,12 @@ * Mountain View, California 94043 */ -#include <sys/cdefs.h> #if defined(LIBC_SCCS) && !defined(lint) -static char *rcsid = "$FreeBSD$"; static char *sccsid = "@(#)auth_unix.c 1.19 87/08/11 Copyr 1984 Sun Micro"; static char *sccsid = "@(#)auth_unix.c 2.2 88/08/01 4.0 RPCSRC"; #endif +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); /* * auth_unix.c, Implements UNIX style authentication parameters. diff --git a/lib/libc/rpc/authdes_prot.c b/lib/libc/rpc/authdes_prot.c index 49d06f0..19969b0 100644 --- a/lib/libc/rpc/authdes_prot.c +++ b/lib/libc/rpc/authdes_prot.c @@ -1,7 +1,9 @@ #if defined(LIBC_SCCS) && !defined(lint) static char sccsid[] = "@(#)authdes_prot.c 2.1 88/07/29 4.0 RPCSRC; from 1.6 88/02/08 SMI"; #endif -/* $FreeBSD$ */ +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); + /* * Sun RPC is a product of Sun Microsystems, Inc. and is provided for * unrestricted use provided that this legend is included on all tape diff --git a/lib/libc/rpc/authunix_prot.c b/lib/libc/rpc/authunix_prot.c index 11bb74f..45077e7 100644 --- a/lib/libc/rpc/authunix_prot.c +++ b/lib/libc/rpc/authunix_prot.c @@ -29,12 +29,12 @@ * Mountain View, California 94043 */ -#include <sys/cdefs.h> #if defined(LIBC_SCCS) && !defined(lint) -static char *rcsid = "$FreeBSD$"; static char *sccsid = "@(#)authunix_prot.c 1.15 87/08/11 Copyr 1984 Sun Micro"; static char *sccsid = "@(#)authunix_prot.c 2.1 88/07/29 4.0 RPCSRC"; #endif +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); /* * authunix_prot.c diff --git a/lib/libc/rpc/bindresvport.c b/lib/libc/rpc/bindresvport.c index 43b2a4f..537ab51 100644 --- a/lib/libc/rpc/bindresvport.c +++ b/lib/libc/rpc/bindresvport.c @@ -29,13 +29,13 @@ * Mountain View, California 94043 */ -#include <sys/cdefs.h> #if defined(LIBC_SCCS) && !defined(lint) /*static char *sccsid = "from: @(#)bindresvport.c 1.8 88/02/08 SMI";*/ /*static char *sccsid = "from: @(#)bindresvport.c 2.2 88/07/29 4.0 RPCSRC";*/ /*from: OpenBSD: bindresvport.c,v 1.7 1996/07/30 16:25:47 downsj Exp */ -static char *rcsid = "$FreeBSD$"; #endif +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); /* * Copyright (c) 1987 by Sun Microsystems, Inc. diff --git a/lib/libc/rpc/clnt_bcast.c b/lib/libc/rpc/clnt_bcast.c index 112350f..afafb30 100644 --- a/lib/libc/rpc/clnt_bcast.c +++ b/lib/libc/rpc/clnt_bcast.c @@ -1,5 +1,4 @@ /* $NetBSD: clnt_bcast.c,v 1.3 2000/07/06 03:05:20 christos Exp $ */ -/* $FreeBSD$ */ /* * Sun RPC is a product of Sun Microsystems, Inc. and is provided for @@ -38,6 +37,8 @@ #if !defined(lint) && defined(SCCSIDS) static char sccsid[] = "@(#)clnt_bcast.c 1.15 89/04/21 Copyr 1988 Sun Micro"; #endif +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); /* diff --git a/lib/libc/rpc/clnt_dg.c b/lib/libc/rpc/clnt_dg.c index 6ea9756..7c13cdd 100644 --- a/lib/libc/rpc/clnt_dg.c +++ b/lib/libc/rpc/clnt_dg.c @@ -1,5 +1,4 @@ /* $NetBSD: clnt_dg.c,v 1.4 2000/07/14 08:40:41 fvdl Exp $ */ -/* $FreeBSD$ */ /* * Sun RPC is a product of Sun Microsystems, Inc. and is provided for @@ -35,11 +34,11 @@ /* #ident "@(#)clnt_dg.c 1.23 94/04/22 SMI" */ -#if 0 #if !defined(lint) && defined(SCCSIDS) static char sccsid[] = "@(#)clnt_dg.c 1.19 89/03/16 Copyr 1988 Sun Micro"; #endif -#endif +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); /* * Implements a connectionless client side RPC. diff --git a/lib/libc/rpc/clnt_generic.c b/lib/libc/rpc/clnt_generic.c index f1f9364..4147871 100644 --- a/lib/libc/rpc/clnt_generic.c +++ b/lib/libc/rpc/clnt_generic.c @@ -34,8 +34,9 @@ #if defined(LIBC_SCCS) && !defined(lint) /*static char *sccsid = "from: @(#)clnt_generic.c 1.4 87/08/11 (C) 1987 SMI";*/ /*static char *sccsid = "from: @(#)clnt_generic.c 2.2 88/08/01 4.0 RPCSRC";*/ -static char *rcsid = "$FreeBSD$"; #endif +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); /* * Copyright (c) 1986-1991 by Sun Microsystems Inc. diff --git a/lib/libc/rpc/clnt_perror.c b/lib/libc/rpc/clnt_perror.c index fbbdc98..21fd7cb 100644 --- a/lib/libc/rpc/clnt_perror.c +++ b/lib/libc/rpc/clnt_perror.c @@ -30,12 +30,12 @@ * Mountain View, California 94043 */ -#include <sys/cdefs.h> #if defined(LIBC_SCCS) && !defined(lint) static char *sccsid = "@(#)clnt_perror.c 1.15 87/10/07 Copyr 1984 Sun Micro"; static char *sccsid = "@(#)clnt_perror.c 2.1 88/07/29 4.0 RPCSRC"; -static char *rcsid = "$FreeBSD$"; #endif +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); /* * clnt_perror.c diff --git a/lib/libc/rpc/clnt_raw.c b/lib/libc/rpc/clnt_raw.c index d37da5d..b591bf6 100644 --- a/lib/libc/rpc/clnt_raw.c +++ b/lib/libc/rpc/clnt_raw.c @@ -29,12 +29,12 @@ * Mountain View, California 94043 */ -#include <sys/cdefs.h> #if defined(LIBC_SCCS) && !defined(lint) static char *sccsid = "@(#)clnt_raw.c 1.22 87/08/11 Copyr 1984 Sun Micro"; static char *sccsid = "@(#)clnt_raw.c 2.2 88/08/01 4.0 RPCSRC"; -static char *rcsid = "$FreeBSD$"; #endif +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); /* * clnt_raw.c diff --git a/lib/libc/rpc/clnt_simple.c b/lib/libc/rpc/clnt_simple.c index 9bf811b..e798496 100644 --- a/lib/libc/rpc/clnt_simple.c +++ b/lib/libc/rpc/clnt_simple.c @@ -33,10 +33,11 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -/*static char *sccsid = "from: @(#)clnt_simple.c 1.35 87/08/11 Copyr 1984 Sun Micro";*/ -/*static char *sccsid = "from: @(#)clnt_simple.c 2.2 88/08/01 4.0 RPCSRC";*/ -static char *rcsid = "$FreeBSD$"; +static char *sccsid = "from: @(#)clnt_simple.c 1.35 87/08/11 Copyr 1984 Sun Micro"; +static char *sccsid = "from: @(#)clnt_simple.c 2.2 88/08/01 4.0 RPCSRC"; #endif +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); /* * clnt_simple.c diff --git a/lib/libc/rpc/clnt_vc.c b/lib/libc/rpc/clnt_vc.c index 4e9fd4f..c166ec0 100644 --- a/lib/libc/rpc/clnt_vc.c +++ b/lib/libc/rpc/clnt_vc.c @@ -1,5 +1,4 @@ /* $NetBSD: clnt_vc.c,v 1.4 2000/07/14 08:40:42 fvdl Exp $ */ -/* $FreeBSD$ */ /* * Sun RPC is a product of Sun Microsystems, Inc. and is provided for @@ -30,12 +29,13 @@ * Mountain View, California 94043 */ -#include <sys/cdefs.h> #if defined(LIBC_SCCS) && !defined(lint) static char *sccsid = "@(#)clnt_tcp.c 1.37 87/10/05 Copyr 1984 Sun Micro"; static char *sccsid = "@(#)clnt_tcp.c 2.2 88/08/01 4.0 RPCSRC"; static char sccsid[] = "@(#)clnt_vc.c 1.19 89/03/16 Copyr 1988 Sun Micro"; #endif +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); /* * clnt_tcp.c, Implements a TCP/IP based, client side RPC. diff --git a/lib/libc/rpc/crypt_client.c b/lib/libc/rpc/crypt_client.c index 614cd374..7f3cb36 100644 --- a/lib/libc/rpc/crypt_client.c +++ b/lib/libc/rpc/crypt_client.c @@ -30,6 +30,9 @@ * SUCH DAMAGE. */ +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); + #include "namespace.h" #include <sys/types.h> #include <rpc/des_crypt.h> @@ -38,10 +41,6 @@ #include <rpcsvc/crypt.h> #include "un-namespace.h" -#ifndef lint -static const char rcsid[] = "$FreeBSD$"; -#endif - int _des_crypt_call(buf, len, dparms) char *buf; diff --git a/lib/libc/rpc/des_crypt.c b/lib/libc/rpc/des_crypt.c index 01d441d..13fd812 100644 --- a/lib/libc/rpc/des_crypt.c +++ b/lib/libc/rpc/des_crypt.c @@ -35,10 +35,13 @@ #include <rpc/des_crypt.h> #include <rpc/des.h> +#if 0 #ifndef lint -/* from: static char sccsid[] = "@(#)des_crypt.c 2.2 88/08/10 4.0 RPCSRC; from 1.13 88/02/08 SMI"; */ -static const char rcsid[] = "$FreeBSD$"; +static char sccsid[] = "@(#)des_crypt.c 2.2 88/08/10 4.0 RPCSRC; from 1.13 88/02/08 SMI"; #endif +#endif +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); static int common_crypt( char *, char *, unsigned, unsigned, struct desparams * ); int (*__des_crypt_LOCAL)() = 0; diff --git a/lib/libc/rpc/des_soft.c b/lib/libc/rpc/des_soft.c index 01dd7f2..0f31360 100644 --- a/lib/libc/rpc/des_soft.c +++ b/lib/libc/rpc/des_soft.c @@ -1,6 +1,9 @@ #if !defined(lint) && defined(SCCSIDS) static char sccsid[] = "@(#)des_soft.c 2.2 88/08/10 4.0 RPCSRC; from 1.13 88/02/08 SMI"; #endif +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); + /* * Sun RPC is a product of Sun Microsystems, Inc. and is provided for * unrestricted use provided that this legend is included on all tape diff --git a/lib/libc/rpc/getnetconfig.c b/lib/libc/rpc/getnetconfig.c index f4b4ece..d959687 100644 --- a/lib/libc/rpc/getnetconfig.c +++ b/lib/libc/rpc/getnetconfig.c @@ -1,5 +1,4 @@ /* $NetBSD: getnetconfig.c,v 1.3 2000/07/06 03:10:34 christos Exp $ */ -/* $FreeBSD$ */ /* * Sun RPC is a product of Sun Microsystems, Inc. and is provided for @@ -35,6 +34,8 @@ static char sccsid[] = "@(#)getnetconfig.c 1.12 91/12/19 SMI"; #endif */ +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); /* * Copyright (c) 1989 by Sun Microsystems, Inc. diff --git a/lib/libc/rpc/getnetpath.c b/lib/libc/rpc/getnetpath.c index 133bbbc..087cb30 100644 --- a/lib/libc/rpc/getnetpath.c +++ b/lib/libc/rpc/getnetpath.c @@ -1,5 +1,4 @@ /* $NetBSD: getnetpath.c,v 1.3 2000/07/06 03:10:34 christos Exp $ */ -/* $FreeBSD$ */ /* * Sun RPC is a product of Sun Microsystems, Inc. and is provided for @@ -35,6 +34,8 @@ static char sccsid[] = "@(#)getnetpath.c 1.11 91/12/19 SMI"; #endif */ +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); /* * Copyright (c) 1989 by Sun Microsystems, Inc. diff --git a/lib/libc/rpc/getpublickey.c b/lib/libc/rpc/getpublickey.c index 4181df8..301b8e5 100644 --- a/lib/libc/rpc/getpublickey.c +++ b/lib/libc/rpc/getpublickey.c @@ -26,12 +26,12 @@ * Sun Microsystems, Inc. * 2550 Garcia Avenue * Mountain View, California 94043 - * - * $FreeBSD$ */ #if !defined(lint) && defined(SCCSIDS) static char sccsid[] = "@(#)publickey.c 1.10 91/03/11 Copyr 1986 Sun Micro"; #endif +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); /* * publickey.c diff --git a/lib/libc/rpc/getrpcent.c b/lib/libc/rpc/getrpcent.c index 9af5bf7..9e305d2 100644 --- a/lib/libc/rpc/getrpcent.c +++ b/lib/libc/rpc/getrpcent.c @@ -30,11 +30,11 @@ * Mountain View, California 94043 */ -#include <sys/cdefs.h> #if defined(LIBC_SCCS) && !defined(lint) static char *sccsid = "@(#)getrpcent.c 1.14 91/03/11 Copyr 1984 Sun Micro"; -static char *rcsid = "$FreeBSD$"; #endif +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); /* * Copyright (c) 1984 by Sun Microsystems, Inc. diff --git a/lib/libc/rpc/getrpcport.c b/lib/libc/rpc/getrpcport.c index 193ef26..5763419 100644 --- a/lib/libc/rpc/getrpcport.c +++ b/lib/libc/rpc/getrpcport.c @@ -33,8 +33,9 @@ #if defined(LIBC_SCCS) && !defined(lint) static char *sccsid = "@(#)getrpcport.c 1.3 87/08/11 SMI"; static char *sccsid = "@(#)getrpcport.c 2.1 88/07/29 4.0 RPCSRC"; -static char *rcsid = "$FreeBSD$"; #endif +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); /* * Copyright (c) 1985 by Sun Microsystems, Inc. diff --git a/lib/libc/rpc/key_call.c b/lib/libc/rpc/key_call.c index 1b76e49..f6ca01b 100644 --- a/lib/libc/rpc/key_call.c +++ b/lib/libc/rpc/key_call.c @@ -32,10 +32,8 @@ #ident "@(#)key_call.c 1.25 94/04/24 SMI" -#if defined(LIBC_SCCS) && !defined(lint) -static char rcsid[] = - "$FreeBSD$"; -#endif /* not lint */ +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); /* * key_call.c, Interface to keyserver diff --git a/lib/libc/rpc/key_prot_xdr.c b/lib/libc/rpc/key_prot_xdr.c index 2329997..937083a 100644 --- a/lib/libc/rpc/key_prot_xdr.c +++ b/lib/libc/rpc/key_prot_xdr.c @@ -35,9 +35,11 @@ * Mountain View, California 94043 */ /* From: #pragma ident "@(#)key_prot.x 1.7 94/04/29 SMI" */ -/* $FreeBSD$ */ /* Copyright (c) 1990, 1991 Sun Microsystems, Inc. */ +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); + /* * Compiled from key_prot.x using rpcgen. * DO NOT EDIT THIS FILE! diff --git a/lib/libc/rpc/mt_misc.c b/lib/libc/rpc/mt_misc.c index 39ec698..95edac4 100644 --- a/lib/libc/rpc/mt_misc.c +++ b/lib/libc/rpc/mt_misc.c @@ -1,8 +1,10 @@ /* $NetBSD: mt_misc.c,v 1.1 2000/06/02 23:11:11 fvdl Exp $ */ -/* $FreeBSD$ */ /* #pragma ident "@(#)mt_misc.c 1.24 93/04/29 SMI" */ +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); + #include "namespace.h" #include "reentrant.h" #include <rpc/rpc.h> diff --git a/lib/libc/rpc/netname.c b/lib/libc/rpc/netname.c index 34e9ca7..1834689 100644 --- a/lib/libc/rpc/netname.c +++ b/lib/libc/rpc/netname.c @@ -26,12 +26,12 @@ * Sun Microsystems, Inc. * 2550 Garcia Avenue * Mountain View, California 94043 - * - * $FreeBSD$ */ #if !defined(lint) && defined(SCCSIDS) static char sccsid[] = "@(#)netname.c 1.8 91/03/11 Copyr 1986 Sun Micro"; #endif +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); /* * netname utility routines diff --git a/lib/libc/rpc/netnamer.c b/lib/libc/rpc/netnamer.c index 3a0631f..4983b7c 100644 --- a/lib/libc/rpc/netnamer.c +++ b/lib/libc/rpc/netnamer.c @@ -26,12 +26,12 @@ * Sun Microsystems, Inc. * 2550 Garcia Avenue * Mountain View, California 94043 - * - * $FreeBSD$ */ #if !defined(lint) && defined(SCCSIDS) static char sccsid[] = "@(#)netnamer.c 1.13 91/03/11 Copyr 1986 Sun Micro"; #endif +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); /* * netname utility routines convert from unix names to network names and * vice-versa This module is operating system dependent! What we define here diff --git a/lib/libc/rpc/pmap_clnt.c b/lib/libc/rpc/pmap_clnt.c index 676444e..d720b17 100644 --- a/lib/libc/rpc/pmap_clnt.c +++ b/lib/libc/rpc/pmap_clnt.c @@ -29,12 +29,12 @@ * Mountain View, California 94043 */ -#include <sys/cdefs.h> #if defined(LIBC_SCCS) && !defined(lint) -/*static char *sccsid = "from: @(#)pmap_clnt.c 1.37 87/08/11 Copyr 1984 Sun Micro";*/ -/*static char *sccsid = "from: @(#)pmap_clnt.c 2.2 88/08/01 4.0 RPCSRC";*/ -static char *rcsid = "$FreeBSD$"; +static char *sccsid = "@(#)pmap_clnt.c 1.37 87/08/11 Copyr 1984 Sun Micro"; +static char *sccsid = "@(#)pmap_clnt.c 2.2 88/08/01 4.0 RPCSRC"; #endif +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); /* * pmap_clnt.c diff --git a/lib/libc/rpc/pmap_getmaps.c b/lib/libc/rpc/pmap_getmaps.c index 3fdc44f..edc26bf 100644 --- a/lib/libc/rpc/pmap_getmaps.c +++ b/lib/libc/rpc/pmap_getmaps.c @@ -29,12 +29,12 @@ * Mountain View, California 94043 */ -#include <sys/cdefs.h> #if defined(LIBC_SCCS) && !defined(lint) -/*static char *sccsid = "from: @(#)pmap_getmaps.c 1.10 87/08/11 Copyr 1984 Sun Micro";*/ -/*static char *sccsid = "from: @(#)pmap_getmaps.c 2.2 88/08/01 4.0 RPCSRC";*/ -static char *rcsid = "$FreeBSD$"; +static char *sccsid = "@(#)pmap_getmaps.c 1.10 87/08/11 Copyr 1984 Sun Micro"; +static char *sccsid = "@(#)pmap_getmaps.c 2.2 88/08/01 4.0 RPCSRC"; #endif +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); /* * pmap_getmap.c diff --git a/lib/libc/rpc/pmap_getport.c b/lib/libc/rpc/pmap_getport.c index 02946d3..e54d0d5 100644 --- a/lib/libc/rpc/pmap_getport.c +++ b/lib/libc/rpc/pmap_getport.c @@ -29,12 +29,12 @@ * Mountain View, California 94043 */ -#include <sys/cdefs.h> #if defined(LIBC_SCCS) && !defined(lint) -/*static char *sccsid = "from: @(#)pmap_getport.c 1.9 87/08/11 Copyr 1984 Sun Micro";*/ -/*static char *sccsid = "from: @(#)pmap_getport.c 2.2 88/08/01 4.0 RPCSRC";*/ -static char *rcsid = "$FreeBSD$"; +static char *sccsid = "from: @(#)pmap_getport.c 1.9 87/08/11 Copyr 1984 Sun Micro"; +static char *sccsid = "from: @(#)pmap_getport.c 2.2 88/08/01 4.0 RPCSRC"; #endif +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); /* * pmap_getport.c diff --git a/lib/libc/rpc/pmap_prot.c b/lib/libc/rpc/pmap_prot.c index 62b5725..8daf844 100644 --- a/lib/libc/rpc/pmap_prot.c +++ b/lib/libc/rpc/pmap_prot.c @@ -29,12 +29,12 @@ * Mountain View, California 94043 */ -#include <sys/cdefs.h> #if defined(LIBC_SCCS) && !defined(lint) static char *sccsid = "@(#)pmap_prot.c 1.17 87/08/11 Copyr 1984 Sun Micro"; static char *sccsid = "@(#)pmap_prot.c 2.1 88/07/29 4.0 RPCSRC"; -static char *rcsid = "$FreeBSD$"; #endif +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); /* * pmap_prot.c diff --git a/lib/libc/rpc/pmap_prot2.c b/lib/libc/rpc/pmap_prot2.c index e30f977..9f3c5c7 100644 --- a/lib/libc/rpc/pmap_prot2.c +++ b/lib/libc/rpc/pmap_prot2.c @@ -29,12 +29,12 @@ * Mountain View, California 94043 */ -#include <sys/cdefs.h> #if defined(LIBC_SCCS) && !defined(lint) static char *sccsid = "@(#)pmap_prot2.c 1.3 87/08/11 Copyr 1984 Sun Micro"; static char *sccsid = "@(#)pmap_prot2.c 2.1 88/07/29 4.0 RPCSRC"; -static char *rcsid = "$FreeBSD$"; #endif +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); /* * pmap_prot2.c diff --git a/lib/libc/rpc/pmap_rmt.c b/lib/libc/rpc/pmap_rmt.c index 51e6d3a..be62c12 100644 --- a/lib/libc/rpc/pmap_rmt.c +++ b/lib/libc/rpc/pmap_rmt.c @@ -31,10 +31,11 @@ #include <sys/cdefs.h> #if defined(LIBC_SCCS) && !defined(lint) -/*static char *sccsid = "from: @(#)pmap_rmt.c 1.21 87/08/27 Copyr 1984 Sun Micro";*/ -/*static char *sccsid = "from: @(#)pmap_rmt.c 2.2 88/08/01 4.0 RPCSRC";*/ -static char *rcsid = "$FreeBSD$"; +static char *sccsid = "@(#)pmap_rmt.c 1.21 87/08/27 Copyr 1984 Sun Micro"; +static char *sccsid = "@(#)pmap_rmt.c 2.2 88/08/01 4.0 RPCSRC"; #endif +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); /* * pmap_rmt.c diff --git a/lib/libc/rpc/rpc_callmsg.c b/lib/libc/rpc/rpc_callmsg.c index 827fd3e..3a85681 100644 --- a/lib/libc/rpc/rpc_callmsg.c +++ b/lib/libc/rpc/rpc_callmsg.c @@ -29,12 +29,12 @@ * Mountain View, California 94043 */ -#include <sys/cdefs.h> #if defined(LIBC_SCCS) && !defined(lint) static char *sccsid = "@(#)rpc_callmsg.c 1.4 87/08/11 Copyr 1984 Sun Micro"; static char *sccsid = "@(#)rpc_callmsg.c 2.1 88/07/29 4.0 RPCSRC"; -static char *rcsid = "$FreeBSD$"; #endif +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); /* * rpc_callmsg.c diff --git a/lib/libc/rpc/rpc_commondata.c b/lib/libc/rpc/rpc_commondata.c index ba5839e..679233a 100644 --- a/lib/libc/rpc/rpc_commondata.c +++ b/lib/libc/rpc/rpc_commondata.c @@ -29,11 +29,11 @@ * Mountain View, California 94043 */ -#include <sys/cdefs.h> #if defined(LIBC_SCCS) && !defined(lint) static char *sccsid = "@(#)rpc_commondata.c 2.1 88/07/29 4.0 RPCSRC"; -static char *rcsid = "$FreeBSD$"; #endif +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); #include "namespace.h" #include <rpc/rpc.h> diff --git a/lib/libc/rpc/rpc_dtablesize.c b/lib/libc/rpc/rpc_dtablesize.c index b4c2a67..91c3bb1 100644 --- a/lib/libc/rpc/rpc_dtablesize.c +++ b/lib/libc/rpc/rpc_dtablesize.c @@ -29,12 +29,12 @@ * Mountain View, California 94043 */ -#include <sys/cdefs.h> #if defined(LIBC_SCCS) && !defined(lint) -/*static char *sccsid = "from: @(#)rpc_dtablesize.c 1.2 87/08/11 Copyr 1987 Sun Micro";*/ -/*static char *sccsid = "from: @(#)rpc_dtablesize.c 2.1 88/07/29 4.0 RPCSRC";*/ -static char *rcsid = "$FreeBSD$"; +static char *sccsid = "@(#)rpc_dtablesize.c 1.2 87/08/11 Copyr 1987 Sun Micro"; +static char *sccsid = "@(#)rpc_dtablesize.c 2.1 88/07/29 4.0 RPCSRC"; #endif +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); #include "namespace.h" #include <unistd.h> diff --git a/lib/libc/rpc/rpc_generic.c b/lib/libc/rpc/rpc_generic.c index e2492b4..3223997 100644 --- a/lib/libc/rpc/rpc_generic.c +++ b/lib/libc/rpc/rpc_generic.c @@ -1,5 +1,4 @@ /* $NetBSD: rpc_generic.c,v 1.4 2000/09/28 09:07:04 kleink Exp $ */ -/* $FreeBSD$ */ /* * Sun RPC is a product of Sun Microsystems, Inc. and is provided for @@ -34,6 +33,8 @@ */ /* #pragma ident "@(#)rpc_generic.c 1.17 94/04/24 SMI" */ +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); /* * rpc_generic.c, Miscl routines for RPC. diff --git a/lib/libc/rpc/rpc_prot.c b/lib/libc/rpc/rpc_prot.c index 010f93b..0581762 100644 --- a/lib/libc/rpc/rpc_prot.c +++ b/lib/libc/rpc/rpc_prot.c @@ -29,12 +29,12 @@ * Mountain View, California 94043 */ -#include <sys/cdefs.h> #if defined(LIBC_SCCS) && !defined(lint) static char *sccsid = "@(#)rpc_prot.c 1.36 87/08/11 Copyr 1984 Sun Micro"; static char *sccsid = "@(#)rpc_prot.c 2.3 88/08/07 4.0 RPCSRC"; -static char *rcsid = "$FreeBSD$"; #endif +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); /* * rpc_prot.c diff --git a/lib/libc/rpc/rpc_soc.c b/lib/libc/rpc/rpc_soc.c index 75dd1f2..ffb1c76 100644 --- a/lib/libc/rpc/rpc_soc.c +++ b/lib/libc/rpc/rpc_soc.c @@ -1,5 +1,4 @@ /* $NetBSD: rpc_soc.c,v 1.6 2000/07/06 03:10:35 christos Exp $ */ -/* $FreeBSD$ */ /* * Sun RPC is a product of Sun Microsystems, Inc. and is provided for @@ -39,11 +38,11 @@ * California. */ -#if 0 #if !defined(lint) && defined(SCCSIDS) static char sccsid[] = "@(#)rpc_soc.c 1.41 89/05/02 Copyr 1988 Sun Micro"; #endif -#endif +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); #ifdef PORTMAP /* diff --git a/lib/libc/rpc/rpcb_clnt.c b/lib/libc/rpc/rpcb_clnt.c index 416ab22..c4db751 100644 --- a/lib/libc/rpc/rpcb_clnt.c +++ b/lib/libc/rpc/rpcb_clnt.c @@ -1,5 +1,4 @@ /* $NetBSD: rpcb_clnt.c,v 1.6 2000/07/16 06:41:43 itojun Exp $ */ -/* $FreeBSD$ */ /* * Sun RPC is a product of Sun Microsystems, Inc. and is provided for @@ -36,11 +35,11 @@ /* #ident "@(#)rpcb_clnt.c 1.27 94/04/24 SMI" */ -#if 0 #if !defined(lint) && defined(SCCSIDS) static char sccsid[] = "@(#)rpcb_clnt.c 1.30 89/06/21 Copyr 1988 Sun Micro"; #endif -#endif +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); /* * rpcb_clnt.c diff --git a/lib/libc/rpc/rpcb_prot.c b/lib/libc/rpc/rpcb_prot.c index 20ee091..ce9f713 100644 --- a/lib/libc/rpc/rpcb_prot.c +++ b/lib/libc/rpc/rpcb_prot.c @@ -35,11 +35,11 @@ /* #ident "@(#)rpcb_prot.c 1.13 94/04/24 SMI" */ -#if 0 #if !defined(lint) && defined(SCCSIDS) static char sccsid[] = "@(#)rpcb_prot.c 1.9 89/04/21 Copyr 1984 Sun Micro"; #endif -#endif +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); /* * rpcb_prot.c diff --git a/lib/libc/rpc/rpcb_st_xdr.c b/lib/libc/rpc/rpcb_st_xdr.c index c094e99..6a70f73 100644 --- a/lib/libc/rpc/rpcb_st_xdr.c +++ b/lib/libc/rpc/rpcb_st_xdr.c @@ -1,5 +1,4 @@ /* $NetBSD: rpcb_st_xdr.c,v 1.3 2000/07/14 08:40:42 fvdl Exp $ */ -/* $FreeBSD$ */ /* * Sun RPC is a product of Sun Microsystems, Inc. and is provided for @@ -39,6 +38,9 @@ * routines used with the rpcbind stats facility. */ +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); + #include "namespace.h" #include <rpc/rpc.h> #include "un-namespace.h" diff --git a/lib/libc/rpc/rpcdname.c b/lib/libc/rpc/rpcdname.c index ee6a2b4..2bd1829 100644 --- a/lib/libc/rpc/rpcdname.c +++ b/lib/libc/rpc/rpcdname.c @@ -30,7 +30,8 @@ #if !defined(lint) && defined(SCCSIDS) static char sccsid[] = "@(#)rpcdname.c 1.7 91/03/11 Copyr 1989 Sun Micro"; #endif -/* $FreeBSD$ */ +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); /* * rpcdname.c diff --git a/lib/libc/rpc/rtime.c b/lib/libc/rpc/rtime.c index 55baa1a..6253840 100644 --- a/lib/libc/rpc/rtime.c +++ b/lib/libc/rpc/rtime.c @@ -55,9 +55,10 @@ #include "un-namespace.h" #if defined(LIBC_SCCS) && !defined(lint) -/* from: static char sccsid[] = "@(#)rtime.c 2.2 88/08/10 4.0 RPCSRC; from 1.8 88/02/08 SMI"; */ -static const char rcsid[] = "$FreeBSD$"; +static char sccsid[] = "@(#)rtime.c 2.2 88/08/10 4.0 RPCSRC; from 1.8 88/02/08 SMI"; #endif +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); extern int _rpc_dtablesize( void ); diff --git a/lib/libc/rpc/svc.c b/lib/libc/rpc/svc.c index 5f131b2..c9d9c07 100644 --- a/lib/libc/rpc/svc.c +++ b/lib/libc/rpc/svc.c @@ -30,10 +30,11 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -/*static char *sccsid = "from: @(#)svc.c 1.44 88/02/08 Copyr 1984 Sun Micro";*/ -/*static char *sccsid = "from: @(#)svc.c 2.4 88/08/11 4.0 RPCSRC";*/ -static char *rcsid = "$FreeBSD$"; +static char *sccsid = "@(#)svc.c 1.44 88/02/08 Copyr 1984 Sun Micro"; +static char *sccsid = "@(#)svc.c 2.4 88/08/11 4.0 RPCSRC"; #endif +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); /* * svc.c, Server-side remote procedure call interface. diff --git a/lib/libc/rpc/svc_auth.c b/lib/libc/rpc/svc_auth.c index 56d23b1..f2b4cf9 100644 --- a/lib/libc/rpc/svc_auth.c +++ b/lib/libc/rpc/svc_auth.c @@ -34,12 +34,11 @@ /* #ident "@(#)svc_auth.c 1.16 94/04/24 SMI" */ -#if 0 #if !defined(lint) && defined(SCCSIDS) static char sccsid[] = "@(#)svc_auth.c 1.26 89/02/07 Copyr 1984 Sun Micro"; -static const char rcsid[] = "$FreeBSD$"; -#endif #endif +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); /* * svc_auth.c, Server-side rpc authenticator interface. diff --git a/lib/libc/rpc/svc_auth_des.c b/lib/libc/rpc/svc_auth_des.c index 6cbc931..84f1e19 100644 --- a/lib/libc/rpc/svc_auth_des.c +++ b/lib/libc/rpc/svc_auth_des.c @@ -65,9 +65,10 @@ #include "libc_private.h" #if defined(LIBC_SCCS) && !defined(lint) -/* from: static char sccsid[] = "@(#)svcauth_des.c 2.3 89/07/11 4.0 RPCSRC; from 1.15 88/02/08 SMI"; */ -static const char rcsid[] = "$FreeBSD$"; +static char sccsid[] = "@(#)svcauth_des.c 2.3 89/07/11 4.0 RPCSRC; from 1.15 88/02/08 SMI"; #endif +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); extern int key_decryptsession_pk(const char *, netobj *, des_block *); diff --git a/lib/libc/rpc/svc_auth_unix.c b/lib/libc/rpc/svc_auth_unix.c index ba6e483..b53ccdc 100644 --- a/lib/libc/rpc/svc_auth_unix.c +++ b/lib/libc/rpc/svc_auth_unix.c @@ -27,12 +27,12 @@ * Mountain View, California 94043 */ -#include <sys/cdefs.h> #if defined(LIBC_SCCS) && !defined(lint) static char *sccsid = "@(#)svc_auth_unix.c 1.28 88/02/08 Copyr 1984 Sun Micro"; static char *sccsid = "@(#)svc_auth_unix.c 2.3 88/08/01 4.0 RPCSRC"; -static char *rcsid = "$FreeBSD$"; #endif +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); /* * svc_auth_unix.c diff --git a/lib/libc/rpc/svc_dg.c b/lib/libc/rpc/svc_dg.c index 8eee24f..cf63e7a 100644 --- a/lib/libc/rpc/svc_dg.c +++ b/lib/libc/rpc/svc_dg.c @@ -1,5 +1,4 @@ /* $NetBSD: svc_dg.c,v 1.4 2000/07/06 03:10:35 christos Exp $ */ -/* $FreeBSD$ */ /* * Sun RPC is a product of Sun Microsystems, Inc. and is provided for @@ -35,7 +34,8 @@ */ /* #ident "@(#)svc_dg.c 1.17 94/04/24 SMI" */ - +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); /* * svc_dg.c, Server side for connectionless RPC. diff --git a/lib/libc/rpc/svc_generic.c b/lib/libc/rpc/svc_generic.c index 224725b..e1a09a9 100644 --- a/lib/libc/rpc/svc_generic.c +++ b/lib/libc/rpc/svc_generic.c @@ -1,5 +1,4 @@ /* $NetBSD: svc_generic.c,v 1.3 2000/07/06 03:10:35 christos Exp $ */ -/* $FreeBSD$ */ /* * Sun RPC is a product of Sun Microsystems, Inc. and is provided for @@ -36,11 +35,11 @@ /* #ident "@(#)svc_generic.c 1.19 94/04/24 SMI" */ -#if 0 #if !defined(lint) && defined(SCCSIDS) static char sccsid[] = "@(#)svc_generic.c 1.21 89/02/28 Copyr 1988 Sun Micro"; #endif -#endif +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); /* * svc_generic.c, Server side for RPC. diff --git a/lib/libc/rpc/svc_raw.c b/lib/libc/rpc/svc_raw.c index 2a75f4e..96891ee 100644 --- a/lib/libc/rpc/svc_raw.c +++ b/lib/libc/rpc/svc_raw.c @@ -34,12 +34,11 @@ /* #ident "@(#)svc_raw.c 1.16 94/04/24 SMI" */ -#if 0 #if defined(SCCSIDS) && !defined(lint) static char sccsid[] = "@(#)svc_raw.c 1.25 89/01/31 Copyr 1984 Sun Micro"; -static char *rcsid = "$FreeBSD$"; -#endif #endif +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); /* * svc_raw.c, This a toy for simple testing and timing. diff --git a/lib/libc/rpc/svc_run.c b/lib/libc/rpc/svc_run.c index f2adf56..6d13ee0 100644 --- a/lib/libc/rpc/svc_run.c +++ b/lib/libc/rpc/svc_run.c @@ -29,12 +29,12 @@ * Mountain View, California 94043 */ -#include <sys/cdefs.h> #if defined(LIBC_SCCS) && !defined(lint) -/*static char *sccsid = "from: @(#)svc_run.c 1.1 87/10/13 Copyr 1984 Sun Micro";*/ -/*static char *sccsid = "from: @(#)svc_run.c 2.1 88/07/29 4.0 RPCSRC";*/ -static char *rcsid = "$FreeBSD$"; +static char *sccsid = "from: @(#)svc_run.c 1.1 87/10/13 Copyr 1984 Sun Micro"; +static char *sccsid = "from: @(#)svc_run.c 2.1 88/07/29 4.0 RPCSRC"; #endif +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); /* * This is the rpc server side idle loop diff --git a/lib/libc/rpc/svc_simple.c b/lib/libc/rpc/svc_simple.c index d579b08..2acae4b 100644 --- a/lib/libc/rpc/svc_simple.c +++ b/lib/libc/rpc/svc_simple.c @@ -1,5 +1,4 @@ /* $NetBSD: svc_simple.c,v 1.20 2000/07/06 03:10:35 christos Exp $ */ -/* $FreeBSD$ */ /* * Sun RPC is a product of Sun Microsystems, Inc. and is provided for @@ -34,6 +33,8 @@ */ /* #pragma ident "@(#)svc_simple.c 1.18 94/04/24 SMI" */ +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); /* * svc_simple.c diff --git a/lib/libc/rpc/svc_vc.c b/lib/libc/rpc/svc_vc.c index 8fea82e..701c4ff 100644 --- a/lib/libc/rpc/svc_vc.c +++ b/lib/libc/rpc/svc_vc.c @@ -1,5 +1,4 @@ /* $NetBSD: svc_vc.c,v 1.7 2000/08/03 00:01:53 fvdl Exp $ */ -/* $FreeBSD$ */ /* * Sun RPC is a product of Sun Microsystems, Inc. and is provided for @@ -30,11 +29,12 @@ * Mountain View, California 94043 */ -#include <sys/cdefs.h> #if defined(LIBC_SCCS) && !defined(lint) static char *sccsid = "@(#)svc_tcp.c 1.21 87/08/11 Copyr 1984 Sun Micro"; static char *sccsid = "@(#)svc_tcp.c 2.2 88/08/01 4.0 RPCSRC"; #endif +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); /* * svc_vc.c, Server side for Connection Oriented based RPC. |