aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/rpc.yppasswdd
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2003-05-03 21:06:42 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2003-05-03 21:06:42 +0000
commitb728350ee67c01f96c3c5121774536fee81ad176 (patch)
treef908d178ab0f2ab51334f4e63465f30c284a3a41 /usr.sbin/rpc.yppasswdd
parent6f0a94a9f184c3f2ffef1ee177959042ed1cb2da (diff)
Use __FBSDID over rcsid[]. Protect copyright[] where needed.
Notes
Notes: svn path=/head/; revision=114601
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 f2921e80b0cf..a1d6be51f369 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 7c9b011fb5b3..ae917bed417d 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 21f3895e9336..1cc5322247b6 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>