summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ypbind
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2003-05-03 21:06:42 +0000
committerobrien <obrien@FreeBSD.org>2003-05-03 21:06:42 +0000
commit7293a24a2b093fcb82ba80e14cb33ff03e2e24e8 (patch)
treef908d178ab0f2ab51334f4e63465f30c284a3a41 /usr.sbin/ypbind
parentbc6b9b68d5f38a2f90f272ea6a2abd6add012a7d (diff)
downloadFreeBSD-src-7293a24a2b093fcb82ba80e14cb33ff03e2e24e8.zip
FreeBSD-src-7293a24a2b093fcb82ba80e14cb33ff03e2e24e8.tar.gz
Use __FBSDID over rcsid[]. Protect copyright[] where needed.
Diffstat (limited to 'usr.sbin/ypbind')
-rw-r--r--usr.sbin/ypbind/yp_ping.c6
-rw-r--r--usr.sbin/ypbind/ypbind.c6
2 files changed, 5 insertions, 7 deletions
diff --git a/usr.sbin/ypbind/yp_ping.c b/usr.sbin/ypbind/yp_ping.c
index 807e706..1806c3c 100644
--- a/usr.sbin/ypbind/yp_ping.c
+++ b/usr.sbin/ypbind/yp_ping.c
@@ -59,14 +59,14 @@
* Mountain View, California 94043
*/
-#ifndef lint
#if 0
+#ifndef lint
static char *sccsid = "@(#)from: clnt_udp.c 1.39 87/08/11 Copyr 1984 Sun Micro";
static char *sccsid = "@(#)from: clnt_udp.c 2.2 88/08/01 4.0 RPCSRC";
#endif
-static const char rcsid[] =
- "$FreeBSD$";
#endif
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
/*
* clnt_udp.c, Implements a UDP/IP based, client side RPC.
diff --git a/usr.sbin/ypbind/ypbind.c b/usr.sbin/ypbind/ypbind.c
index 3000e7f..bec3b9e 100644
--- a/usr.sbin/ypbind/ypbind.c
+++ b/usr.sbin/ypbind/ypbind.c
@@ -27,10 +27,8 @@
* SUCH DAMAGE.
*/
-#ifndef lint
-static const char rcsid[] =
- "$FreeBSD$";
-#endif /* not lint */
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
#include <sys/param.h>
#include <sys/types.h>
OpenPOWER on IntegriCloud