summaryrefslogtreecommitdiffstats
path: root/libexec/ypxfr
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2003-05-04 00:59:13 +0000
committerobrien <obrien@FreeBSD.org>2003-05-04 00:59:13 +0000
commite6de895e83d4c3c11d4bc532885a573965e5be0e (patch)
tree25b3436256b28586f64951e53f1b9be7f4cc72d8 /libexec/ypxfr
parent43ecc39077d55a2ece31e75c8e80612a8b840785 (diff)
downloadFreeBSD-src-e6de895e83d4c3c11d4bc532885a573965e5be0e.zip
FreeBSD-src-e6de895e83d4c3c11d4bc532885a573965e5be0e.tar.gz
Use __FBSDID vs. rcsid[].
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 05031c1..488f9e4 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 4ce5380..452b186 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 5c22d00..1046f84 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 f64f69d..c8fc0f9 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 d7a0171..bd6b828 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>
OpenPOWER on IntegriCloud