diff options
| author | David E. O'Brien <obrien@FreeBSD.org> | 2003-05-04 02:51:42 +0000 |
|---|---|---|
| committer | David E. O'Brien <obrien@FreeBSD.org> | 2003-05-04 02:51:42 +0000 |
| commit | 1542dbb49a51f3757fc2f7e85fcacba70b272cdf (patch) | |
| tree | 37dfc836e339338276281e9a5764a102136a3d30 /include/rpcsvc | |
| parent | 20430a6b04886a972708255c8d7d1a3b4b9fdb6b (diff) | |
Notes
Diffstat (limited to 'include/rpcsvc')
| -rw-r--r-- | include/rpcsvc/bootparam_prot.x | 4 | ||||
| -rw-r--r-- | include/rpcsvc/crypt.x | 6 | ||||
| -rw-r--r-- | include/rpcsvc/key_prot.x | 3 | ||||
| -rw-r--r-- | include/rpcsvc/klm_prot.x | 4 | ||||
| -rw-r--r-- | include/rpcsvc/mount.x | 4 | ||||
| -rw-r--r-- | include/rpcsvc/nfs_prot.x | 4 | ||||
| -rw-r--r-- | include/rpcsvc/nis.x | 6 | ||||
| -rw-r--r-- | include/rpcsvc/nis_cache.x | 6 | ||||
| -rw-r--r-- | include/rpcsvc/nis_callback.x | 6 | ||||
| -rw-r--r-- | include/rpcsvc/nlm_prot.x | 3 | ||||
| -rw-r--r-- | include/rpcsvc/pmap_prot.x | 4 | ||||
| -rw-r--r-- | include/rpcsvc/rex.x | 4 | ||||
| -rw-r--r-- | include/rpcsvc/rnusers.x | 4 | ||||
| -rw-r--r-- | include/rpcsvc/rquota.x | 4 | ||||
| -rw-r--r-- | include/rpcsvc/rstat.x | 4 | ||||
| -rw-r--r-- | include/rpcsvc/sm_inter.x | 6 | ||||
| -rw-r--r-- | include/rpcsvc/spray.x | 4 | ||||
| -rw-r--r-- | include/rpcsvc/yp.x | 6 | ||||
| -rw-r--r-- | include/rpcsvc/yppasswd.x | 4 | ||||
| -rw-r--r-- | include/rpcsvc/ypupdate_prot.x | 6 | ||||
| -rw-r--r-- | include/rpcsvc/ypxfrd.x | 6 |
21 files changed, 41 insertions, 57 deletions
diff --git a/include/rpcsvc/bootparam_prot.x b/include/rpcsvc/bootparam_prot.x index 1f85febb48d38..78b0a15754875 100644 --- a/include/rpcsvc/bootparam_prot.x +++ b/include/rpcsvc/bootparam_prot.x @@ -47,9 +47,9 @@ %#ifndef lint %/*static char sccsid[] = "from: @(#)bootparam_prot.x 1.2 87/06/24 Copyr 1987 Sun Micro";*/ %/*static char sccsid[] = "from: @(#)bootparam_prot.x 2.1 88/08/01 4.0 RPCSRC";*/ -%static const char rcsid[] = -% "$FreeBSD$"; %#endif /* not lint */ +%#include <sys/cdefs.h> +%__FBSDID("$FreeBSD$"); #endif const MAX_MACHINE_NAME = 255; diff --git a/include/rpcsvc/crypt.x b/include/rpcsvc/crypt.x index d679b2c8ad8f3..3b296c0ddf1d5 100644 --- a/include/rpcsvc/crypt.x +++ b/include/rpcsvc/crypt.x @@ -31,10 +31,8 @@ */ #ifndef RPC_HDR -%#ifndef lint -%static const char rcsid[] = -% "$FreeBSD$"; -%#endif +%#include <sys/cdefs.h> +%__FBSDID("$FreeBSD$"); #endif /* diff --git a/include/rpcsvc/key_prot.x b/include/rpcsvc/key_prot.x index d87f39ccb9109..7800a0781ec67 100644 --- a/include/rpcsvc/key_prot.x +++ b/include/rpcsvc/key_prot.x @@ -44,8 +44,9 @@ */ %/* 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. diff --git a/include/rpcsvc/klm_prot.x b/include/rpcsvc/klm_prot.x index 72837ab592d0b..f820bdc1fc80d 100644 --- a/include/rpcsvc/klm_prot.x +++ b/include/rpcsvc/klm_prot.x @@ -40,9 +40,9 @@ %#ifndef lint %/*static char sccsid[] = "from: @(#)klm_prot.x 1.7 87/07/08 Copyr 1987 Sun Micro";*/ %/*static char sccsid[] = "from: @(#)klm_prot.x 2.1 88/08/01 4.0 RPCSRC";*/ -%static const char rcsid[] = -% "$FreeBSD$"; %#endif /* not lint */ +%#include <sys/cdefs.h> +%__FBSDID("$FreeBSD$"); #endif const LM_MAXSTRLEN = 1024; diff --git a/include/rpcsvc/mount.x b/include/rpcsvc/mount.x index e3731d9021b72..95966610cf149 100644 --- a/include/rpcsvc/mount.x +++ b/include/rpcsvc/mount.x @@ -35,9 +35,9 @@ %#ifndef lint %/*static char sccsid[] = "from: @(#)mount.x 1.2 87/09/18 Copyr 1987 Sun Micro";*/ %/*static char sccsid[] = "from: @(#)mount.x 2.1 88/08/01 4.0 RPCSRC";*/ -%static const char rcsid[] = -% "$FreeBSD$"; %#endif /* not lint */ +%#include <sys/cdefs.h> +%__FBSDID("$FreeBSD$"); #endif const MNTPATHLEN = 1024; /* maximum bytes in a pathname argument */ diff --git a/include/rpcsvc/nfs_prot.x b/include/rpcsvc/nfs_prot.x index 609bc536bcf07..8a09ac3a4d1fc 100644 --- a/include/rpcsvc/nfs_prot.x +++ b/include/rpcsvc/nfs_prot.x @@ -31,9 +31,9 @@ %#ifndef lint %/*static char sccsid[] = "from: @(#)nfs_prot.x 1.2 87/10/12 Copyr 1987 Sun Micro";*/ %/*static char sccsid[] = "from: @(#)nfs_prot.x 2.1 88/08/01 4.0 RPCSRC";*/ -%static const char rcsid[] = -% "$FreeBSD$"; %#endif /* not lint */ +%#include <sys/cdefs.h> +%__FBSDID("$FreeBSD$"); #endif const NFS_PORT = 2049; diff --git a/include/rpcsvc/nis.x b/include/rpcsvc/nis.x index c1c4851e60d3e..7ebb19dff81be 100644 --- a/include/rpcsvc/nis.x +++ b/include/rpcsvc/nis.x @@ -29,10 +29,8 @@ % */ #ifndef RPC_HDR -%#ifndef lint -%static const char rcsid[] = -% "$FreeBSD$"; -%#endif /* not lint */ +%#include <sys/cdefs.h> +%__FBSDID("$FreeBSD$"); #endif /* diff --git a/include/rpcsvc/nis_cache.x b/include/rpcsvc/nis_cache.x index 81967356d9475..6edaea92c38b0 100644 --- a/include/rpcsvc/nis_cache.x +++ b/include/rpcsvc/nis_cache.x @@ -38,10 +38,8 @@ /* From: %#pragma ident "@(#)nis_cache.x 1.11 94/05/03 SMI" */ #ifndef RPC_HDR -%#ifndef lint -%static const char rcsid[] = -% "$FreeBSD$"; -%#endif /* not lint */ +%#include <sys/cdefs.h> +%__FBSDID("$FreeBSD$"); #endif #ifdef RPC_HDR diff --git a/include/rpcsvc/nis_callback.x b/include/rpcsvc/nis_callback.x index fee4445b82641..3146ec30673dc 100644 --- a/include/rpcsvc/nis_callback.x +++ b/include/rpcsvc/nis_callback.x @@ -38,10 +38,8 @@ /* From: %#pragma ident "@(#)nis_callback.x 1.7 94/05/03 SMI" */ #ifndef RPC_HDR -%#ifndef lint -%static const char rcsid[] = -% "$FreeBSD$"; -%#endif /* not lint */ +%#include <sys/cdefs.h> +%__FBSDID("$FreeBSD$"); #endif /* diff --git a/include/rpcsvc/nlm_prot.x b/include/rpcsvc/nlm_prot.x index 1f5722e36e5ab..87bf6c8443594 100644 --- a/include/rpcsvc/nlm_prot.x +++ b/include/rpcsvc/nlm_prot.x @@ -11,12 +11,11 @@ #else %#include <sys/cdefs.h> %#ifndef lint -%static const char rcsid[] = -% "$FreeBSD$"; %/*static char sccsid[] = "from: @(#)nlm_prot.x 1.8 87/09/21 Copyr 1987 Sun Micro";*/ %/*static char sccsid[] = "from: * @(#)nlm_prot.x 2.1 88/08/01 4.0 RPCSRC";*/ %__RCSID("$NetBSD: nlm_prot.x,v 1.6 2000/06/07 14:30:15 bouyer Exp $"); %#endif /* not lint */ +%__FBSDID("$FreeBSD$"); #endif /* diff --git a/include/rpcsvc/pmap_prot.x b/include/rpcsvc/pmap_prot.x index 46fde1e234402..19a4d8c5a2fda 100644 --- a/include/rpcsvc/pmap_prot.x +++ b/include/rpcsvc/pmap_prot.x @@ -25,8 +25,6 @@ % * Sun Microsystems, Inc. % * 2550 Garcia Avenue % * Mountain View, California 94043 -% * -% * $FreeBSD$ % */ %/* % * Copyright (c) 1984,1989 by Sun Microsystems, Inc. @@ -37,6 +35,8 @@ #ifdef RPC_HDR % %#pragma ident "@(#)pmap_prot.x 1.6 94/04/29 SMI" +%#include <sys/cdefs.h> +%__FBSDID("$FreeBSD$"); % %#ifndef _KERNEL % diff --git a/include/rpcsvc/rex.x b/include/rpcsvc/rex.x index 6dbc06b2a3592..eabc4d5928ee2 100644 --- a/include/rpcsvc/rex.x +++ b/include/rpcsvc/rex.x @@ -35,9 +35,9 @@ %#ifndef lint %/*static char sccsid[] = "from: @(#)rex.x 1.3 87/09/18 Copyr 1987 Sun Micro";*/ %/*static char sccsid[] = "from: @(#)rex.x 2.1 88/08/01 4.0 RPCSRC";*/ -%static const char rcsid[] = -% "$FreeBSD$"; %#endif /* not lint */ +%#include <sys/cdefs.h> +%__FBSDID("$FreeBSD$"); #endif const STRINGSIZE = 1024; diff --git a/include/rpcsvc/rnusers.x b/include/rpcsvc/rnusers.x index 6713b007b680e..c554827a079e1 100644 --- a/include/rpcsvc/rnusers.x +++ b/include/rpcsvc/rnusers.x @@ -35,9 +35,9 @@ %#ifndef lint %/*static char sccsid[] = "from: @(#)rnusers.x 1.2 87/09/20 Copyr 1987 Sun Micro";*/ %/*static char sccsid[] = "from: @(#)rnusers.x 2.1 88/08/01 4.0 RPCSRC";*/ -%static const char rcsid[] = -% "$FreeBSD$"; %#endif /* not lint */ +%#include <sys/cdefs.h> +%__FBSDID("$FreeBSD$"); #endif const MAXUSERS = 100; diff --git a/include/rpcsvc/rquota.x b/include/rpcsvc/rquota.x index df4e84ca5c2af..0f3ecfc54d2e0 100644 --- a/include/rpcsvc/rquota.x +++ b/include/rpcsvc/rquota.x @@ -7,9 +7,9 @@ %#ifndef lint %/*static char sccsid[] = "from: @(#)rquota.x 1.2 87/09/20 Copyr 1987 Sun Micro";*/ %/*static char sccsid[] = "from: @(#)rquota.x 2.1 88/08/01 4.0 RPCSRC";*/ -%static const char rcsid[] = -% "$FreeBSD$"; %#endif /* not lint */ +%#include <sys/cdefs.h> +%__FBSDID("$FreeBSD$"); #endif const RQ_PATHLEN = 1024; diff --git a/include/rpcsvc/rstat.x b/include/rpcsvc/rstat.x index 252fa5ec627fa..3f524ee4c81b6 100644 --- a/include/rpcsvc/rstat.x +++ b/include/rpcsvc/rstat.x @@ -47,9 +47,9 @@ %#ifndef lint %/*static char sccsid[] = "from: @(#)rstat.x 1.2 87/09/18 Copyr 1987 Sun Micro";*/ %/*static char sccsid[] = "from: @(#)rstat.x 2.2 88/08/01 4.0 RPCSRC";*/ -%static const char rcsid[] = -% "$FreeBSD$"; %#endif /* not lint */ +%#include <sys/cdefs.h> +%__FBSDID("$FreeBSD$"); #endif /* def RPC_HDR */ diff --git a/include/rpcsvc/sm_inter.x b/include/rpcsvc/sm_inter.x index 4ca2ded051987..c66287d73231a 100644 --- a/include/rpcsvc/sm_inter.x +++ b/include/rpcsvc/sm_inter.x @@ -37,10 +37,8 @@ */ #ifndef RPC_HDR -%#ifndef lint -%static const char rcsid[] = -% "$FreeBSD$"; -%#endif /* not lint */ +%#include <sys/cdefs.h> +%__FBSDID("$FreeBSD$"); #endif program SM_PROG { diff --git a/include/rpcsvc/spray.x b/include/rpcsvc/spray.x index 8a110f79829fc..0e7c44e92e7b0 100644 --- a/include/rpcsvc/spray.x +++ b/include/rpcsvc/spray.x @@ -36,9 +36,9 @@ %#ifndef lint %/*static char sccsid[] = "from: @(#)spray.x 1.2 87/09/18 Copyr 1987 Sun Micro";*/ %/*static char sccsid[] = "from: @(#)spray.x 2.1 88/08/01 4.0 RPCSRC";*/ -%static const char rcsid[] = -% "$FreeBSD$"; %#endif /* not lint */ +%#include <sys/cdefs.h> +%__FBSDID("$FreeBSD$"); #endif const SPRAYMAX = 8845; /* max amount can spray */ diff --git a/include/rpcsvc/yp.x b/include/rpcsvc/yp.x index 95559fe919dc1..212050fd7eb64 100644 --- a/include/rpcsvc/yp.x +++ b/include/rpcsvc/yp.x @@ -34,10 +34,8 @@ */ #ifndef RPC_HDR -%#ifndef lint -%static const char rcsid[] = -% "$FreeBSD$"; -%#endif /* not lint */ +%#include <sys/cdefs.h> +%__FBSDID("$FreeBSD$"); #endif const YPMAXRECORD = 1024; diff --git a/include/rpcsvc/yppasswd.x b/include/rpcsvc/yppasswd.x index d4539503ab8ac..da0399d82db27 100644 --- a/include/rpcsvc/yppasswd.x +++ b/include/rpcsvc/yppasswd.x @@ -36,9 +36,9 @@ %#ifndef lint %/*static char sccsid[] = "from: @(#)yppasswd.x 1.1 87/04/13 Copyr 1987 Sun Micro";*/ %/*static char sccsid[] = "from: @(#)yppasswd.x 2.1 88/08/01 4.0 RPCSRC";*/ -%static const char rcsid[] = -% "$FreeBSD$"; %#endif /* not lint */ +%#include <sys/cdefs.h> +%__FBSDID("$FreeBSD$"); #endif program YPPASSWDPROG { diff --git a/include/rpcsvc/ypupdate_prot.x b/include/rpcsvc/ypupdate_prot.x index 5c7184980171d..90648a023e6ea 100644 --- a/include/rpcsvc/ypupdate_prot.x +++ b/include/rpcsvc/ypupdate_prot.x @@ -34,10 +34,8 @@ % %/* from @(#)ypupdate_prot.x 1.3 91/03/11 TIRPC 1.0 */ #ifndef RPC_HDR -%#ifndef lint -%static const char rcsid[] = -% "$FreeBSD$"; -%#endif +%#include <sys/cdefs.h> +%__FBSDID("$FreeBSD$"); #endif % %/* diff --git a/include/rpcsvc/ypxfrd.x b/include/rpcsvc/ypxfrd.x index 23f20bc36deeb..6a767682360a8 100644 --- a/include/rpcsvc/ypxfrd.x +++ b/include/rpcsvc/ypxfrd.x @@ -65,10 +65,8 @@ */ #ifndef RPC_HDR -%#ifndef lint -%static const char rcsid[] = -% "$FreeBSD$"; -%#endif /* not lint */ +%#include <sys/cdefs.h> +%__FBSDID("$FreeBSD$"); #endif /* XXX cribbed from yp.x */ |
