summaryrefslogtreecommitdiffstats
path: root/usr.sbin/rpc.yppasswdd
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.yppasswdd
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.yppasswdd')
-rw-r--r--usr.sbin/rpc.yppasswdd/yppasswd_private.x6
-rw-r--r--usr.sbin/rpc.yppasswdd/yppasswdd_main.c6
-rw-r--r--usr.sbin/rpc.yppasswdd/yppasswdd_server.c6
3 files changed, 6 insertions, 12 deletions
diff --git a/usr.sbin/rpc.yppasswdd/yppasswd_private.x b/usr.sbin/rpc.yppasswdd/yppasswd_private.x
index f2921e8..a1d6be5 100644
--- a/usr.sbin/rpc.yppasswdd/yppasswd_private.x
+++ b/usr.sbin/rpc.yppasswdd/yppasswd_private.x
@@ -31,10 +31,8 @@
*/
#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/usr.sbin/rpc.yppasswdd/yppasswdd_main.c b/usr.sbin/rpc.yppasswdd/yppasswdd_main.c
index 7c9b011..ae917be 100644
--- a/usr.sbin/rpc.yppasswdd/yppasswdd_main.c
+++ b/usr.sbin/rpc.yppasswdd/yppasswdd_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 <sys/param.h>
#include <sys/ioctl.h>
diff --git a/usr.sbin/rpc.yppasswdd/yppasswdd_server.c b/usr.sbin/rpc.yppasswdd/yppasswdd_server.c
index 21f3895e..1cc5322 100644
--- a/usr.sbin/rpc.yppasswdd/yppasswdd_server.c
+++ b/usr.sbin/rpc.yppasswdd/yppasswdd_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 <sys/param.h>
#include <sys/fcntl.h>
OpenPOWER on IntegriCloud