summaryrefslogtreecommitdiff
path: root/libexec/ypxfr
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2003-05-04 00:59:13 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2003-05-04 00:59:13 +0000
commit22e9bc15f9a8ceae8bcfda46b8d95041e87f607a (patch)
tree25b3436256b28586f64951e53f1b9be7f4cc72d8 /libexec/ypxfr
parent78af18bd240456a39d887f53917920abe63237d6 (diff)
downloadsrc-test2-22e9bc15f9a8ceae8bcfda46b8d95041e87f607a.tar.gz
src-test2-22e9bc15f9a8ceae8bcfda46b8d95041e87f607a.zip
Use __FBSDID vs. rcsid[].
Notes
Notes: svn path=/head/; revision=114626
Diffstat (limited to 'libexec/ypxfr')
-rw-r--r--libexec/ypxfr/yp_dbwrite.c6
-rw-r--r--libexec/ypxfr/ypxfr_getmap.c6
-rw-r--r--libexec/ypxfr/ypxfr_main.c6
-rw-r--r--libexec/ypxfr/ypxfr_misc.c6
-rw-r--r--libexec/ypxfr/ypxfrd_getmap.c6
5 files changed, 10 insertions, 20 deletions
diff --git a/libexec/ypxfr/yp_dbwrite.c b/libexec/ypxfr/yp_dbwrite.c
index 05031c163d72..488f9e4ad446 100644
--- a/libexec/ypxfr/yp_dbwrite.c
+++ b/libexec/ypxfr/yp_dbwrite.c
@@ -30,10 +30,8 @@
* SUCH DAMAGE.
*/
-#ifndef lint
-static const char rcsid[] =
- "$FreeBSD$";
-#endif /* not lint */
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
#include <db.h>
#include <errno.h>
diff --git a/libexec/ypxfr/ypxfr_getmap.c b/libexec/ypxfr/ypxfr_getmap.c
index 4ce5380e9145..452b18667ad3 100644
--- a/libexec/ypxfr/ypxfr_getmap.c
+++ b/libexec/ypxfr/ypxfr_getmap.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 <time.h>
diff --git a/libexec/ypxfr/ypxfr_main.c b/libexec/ypxfr/ypxfr_main.c
index 5c22d00f957d..1046f84509c3 100644
--- a/libexec/ypxfr/ypxfr_main.c
+++ b/libexec/ypxfr/ypxfr_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 <errno.h>
#include <stdio.h>
diff --git a/libexec/ypxfr/ypxfr_misc.c b/libexec/ypxfr/ypxfr_misc.c
index f64f69dc8fa7..c8fc0f9d7ba3 100644
--- a/libexec/ypxfr/ypxfr_misc.c
+++ b/libexec/ypxfr/ypxfr_misc.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 <string.h>
diff --git a/libexec/ypxfr/ypxfrd_getmap.c b/libexec/ypxfr/ypxfrd_getmap.c
index d7a0171c3210..bd6b828b1b8c 100644
--- a/libexec/ypxfr/ypxfrd_getmap.c
+++ b/libexec/ypxfr/ypxfrd_getmap.c
@@ -30,10 +30,8 @@
* SUCH DAMAGE.
*/
-#ifndef lint
-static const char rcsid[] =
- "$FreeBSD$";
-#endif /* not lint */
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
#include <errno.h>
#include <stdlib.h>