aboutsummaryrefslogtreecommitdiff
path: root/include/rpcsvc
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2003-05-04 02:51:42 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2003-05-04 02:51:42 +0000
commit1542dbb49a51f3757fc2f7e85fcacba70b272cdf (patch)
tree37dfc836e339338276281e9a5764a102136a3d30 /include/rpcsvc
parent20430a6b04886a972708255c8d7d1a3b4b9fdb6b (diff)
downloadsrc-1542dbb49a51f3757fc2f7e85fcacba70b272cdf.tar.gz
src-1542dbb49a51f3757fc2f7e85fcacba70b272cdf.zip
Use __FBSDID vs. rcsid[].
Notes
Notes: svn path=/head/; revision=114629
Diffstat (limited to 'include/rpcsvc')
-rw-r--r--include/rpcsvc/bootparam_prot.x4
-rw-r--r--include/rpcsvc/crypt.x6
-rw-r--r--include/rpcsvc/key_prot.x3
-rw-r--r--include/rpcsvc/klm_prot.x4
-rw-r--r--include/rpcsvc/mount.x4
-rw-r--r--include/rpcsvc/nfs_prot.x4
-rw-r--r--include/rpcsvc/nis.x6
-rw-r--r--include/rpcsvc/nis_cache.x6
-rw-r--r--include/rpcsvc/nis_callback.x6
-rw-r--r--include/rpcsvc/nlm_prot.x3
-rw-r--r--include/rpcsvc/pmap_prot.x4
-rw-r--r--include/rpcsvc/rex.x4
-rw-r--r--include/rpcsvc/rnusers.x4
-rw-r--r--include/rpcsvc/rquota.x4
-rw-r--r--include/rpcsvc/rstat.x4
-rw-r--r--include/rpcsvc/sm_inter.x6
-rw-r--r--include/rpcsvc/spray.x4
-rw-r--r--include/rpcsvc/yp.x6
-rw-r--r--include/rpcsvc/yppasswd.x4
-rw-r--r--include/rpcsvc/ypupdate_prot.x6
-rw-r--r--include/rpcsvc/ypxfrd.x6
21 files changed, 41 insertions, 57 deletions
diff --git a/include/rpcsvc/bootparam_prot.x b/include/rpcsvc/bootparam_prot.x
index 1f85febb48d3..78b0a1575487 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 d679b2c8ad8f..3b296c0ddf1d 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 d87f39ccb910..7800a0781ec6 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 72837ab592d0..f820bdc1fc80 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 e3731d9021b7..95966610cf14 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 609bc536bcf0..8a09ac3a4d1f 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 c1c4851e60d3..7ebb19dff81b 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 81967356d947..6edaea92c38b 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 fee4445b8264..3146ec30673d 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 1f5722e36e5a..87bf6c844359 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 46fde1e23440..19a4d8c5a2fd 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 6dbc06b2a359..eabc4d5928ee 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 6713b007b680..c554827a079e 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 df4e84ca5c2a..0f3ecfc54d2e 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 252fa5ec627f..3f524ee4c81b 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 4ca2ded05198..c66287d73231 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 8a110f79829f..0e7c44e92e7b 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 95559fe919dc..212050fd7eb6 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 d4539503ab8a..da0399d82db2 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 5c7184980171..90648a023e6e 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 23f20bc36dee..6a767682360a 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 */