summaryrefslogtreecommitdiffstats
path: root/usr.sbin/rpc.ypxfrd
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/rpc.ypxfrd
parentbc6b9b68d5f38a2f90f272ea6a2abd6add012a7d (diff)
downloadFreeBSD-src-7293a24a2b093fcb82ba80e14cb33ff03e2e24e8.zip
FreeBSD-src-7293a24a2b093fcb82ba80e14cb33ff03e2e24e8.tar.gz
Use __FBSDID over rcsid[]. Protect copyright[] where needed.
Diffstat (limited to 'usr.sbin/rpc.ypxfrd')
-rw-r--r--usr.sbin/rpc.ypxfrd/ypxfrd_main.c6
-rw-r--r--usr.sbin/rpc.ypxfrd/ypxfrd_server.c6
2 files changed, 4 insertions, 8 deletions
diff --git a/usr.sbin/rpc.ypxfrd/ypxfrd_main.c b/usr.sbin/rpc.ypxfrd/ypxfrd_main.c
index 7fa866a..d58a69e 100644
--- a/usr.sbin/rpc.ypxfrd/ypxfrd_main.c
+++ b/usr.sbin/rpc.ypxfrd/ypxfrd_main.c
@@ -30,10 +30,8 @@
* SUCH DAMAGE.
*/
-#ifndef lint
-static const char rcsid[] =
- "$FreeBSD$";
-#endif /* not lint */
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
#include "ypxfrd.h"
#include <err.h>
diff --git a/usr.sbin/rpc.ypxfrd/ypxfrd_server.c b/usr.sbin/rpc.ypxfrd/ypxfrd_server.c
index 3b53004..5f60712 100644
--- a/usr.sbin/rpc.ypxfrd/ypxfrd_server.c
+++ b/usr.sbin/rpc.ypxfrd/ypxfrd_server.c
@@ -30,10 +30,8 @@
* SUCH DAMAGE.
*/
-#ifndef lint
-static const char rcsid[] =
- "$FreeBSD$";
-#endif /* not lint */
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
#include "ypxfrd.h"
OpenPOWER on IntegriCloud