summaryrefslogtreecommitdiffstats
path: root/include/rpcsvc
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2003-05-04 02:51:42 +0000
committerobrien <obrien@FreeBSD.org>2003-05-04 02:51:42 +0000
commit3d2af48d351f39ec9434ba144d9cb3c4bb5bde43 (patch)
tree37dfc836e339338276281e9a5764a102136a3d30 /include/rpcsvc
parent96f7782627c5d42aae6a4dca6c8ec70bf8fd3602 (diff)
downloadFreeBSD-src-3d2af48d351f39ec9434ba144d9cb3c4bb5bde43.zip
FreeBSD-src-3d2af48d351f39ec9434ba144d9cb3c4bb5bde43.tar.gz
Use __FBSDID vs. rcsid[].
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 1f85feb..78b0a15 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 d679b2c..3b296c0 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 d87f39c..7800a07 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 72837ab..f820bdc 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 e3731d9..9596661 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 609bc53..8a09ac3 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 c1c4851..7ebb19d 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 8196735..6edaea9 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 fee4445..3146ec3 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 1f5722e..87bf6c8 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 46fde1e..19a4d8c 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 6dbc06b..eabc4d5 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 6713b00..c554827 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 df4e84c..0f3ecfc 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 252fa5e..3f524ee 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 4ca2ded..c66287d 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 8a110f7..0e7c44e 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 95559fe..212050f 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 d453950..da0399d 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 5c71849..90648a0 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 23f20bc..6a76768 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 */
OpenPOWER on IntegriCloud