summaryrefslogtreecommitdiffstats
path: root/usr.sbin/rpc.ypupdated
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.ypupdated
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.ypupdated')
-rw-r--r--usr.sbin/rpc.ypupdated/yp_dbdelete.c6
-rw-r--r--usr.sbin/rpc.ypupdated/yp_dbupdate.c6
-rw-r--r--usr.sbin/rpc.ypupdated/ypupdated_main.c6
-rw-r--r--usr.sbin/rpc.ypupdated/ypupdated_server.c6
4 files changed, 8 insertions, 16 deletions
diff --git a/usr.sbin/rpc.ypupdated/yp_dbdelete.c b/usr.sbin/rpc.ypupdated/yp_dbdelete.c
index d38e2be..0552aab 100644
--- a/usr.sbin/rpc.ypupdated/yp_dbdelete.c
+++ b/usr.sbin/rpc.ypupdated/yp_dbdelete.c
@@ -30,10 +30,8 @@
* SUCH DAMAGE.
*/
-#ifndef lint
-static const char rcsid[] =
- "$FreeBSD$";
-#endif /* not lint */
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
#include <stdio.h>
#include <stdlib.h>
diff --git a/usr.sbin/rpc.ypupdated/yp_dbupdate.c b/usr.sbin/rpc.ypupdated/yp_dbupdate.c
index 44b2b9c..1672f3e 100644
--- a/usr.sbin/rpc.ypupdated/yp_dbupdate.c
+++ b/usr.sbin/rpc.ypupdated/yp_dbupdate.c
@@ -30,10 +30,8 @@
* SUCH DAMAGE.
*/
-#ifndef lint
-static const char rcsid[] =
- "$FreeBSD$";
-#endif /* not lint */
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
#include <sys/fcntl.h>
diff --git a/usr.sbin/rpc.ypupdated/ypupdated_main.c b/usr.sbin/rpc.ypupdated/ypupdated_main.c
index 64302ab..20ceeee 100644
--- a/usr.sbin/rpc.ypupdated/ypupdated_main.c
+++ b/usr.sbin/rpc.ypupdated/ypupdated_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 "ypupdate_prot.h"
#include <stdio.h>
diff --git a/usr.sbin/rpc.ypupdated/ypupdated_server.c b/usr.sbin/rpc.ypupdated/ypupdated_server.c
index fb1017d..c9a50dd 100644
--- a/usr.sbin/rpc.ypupdated/ypupdated_server.c
+++ b/usr.sbin/rpc.ypupdated/ypupdated_server.c
@@ -36,10 +36,8 @@
* Columbia University, New York City
*/
-#ifndef lint
-static const char rcsid[] =
- "$FreeBSD$";
-#endif /* not lint */
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
#include <stdio.h>
#include <rpc/rpc.h>
OpenPOWER on IntegriCloud