summaryrefslogtreecommitdiffstats
path: root/usr.sbin
diff options
context:
space:
mode:
authorstefanf <stefanf@FreeBSD.org>2004-05-30 08:54:27 +0000
committerstefanf <stefanf@FreeBSD.org>2004-05-30 08:54:27 +0000
commit1fc8f1cfd5b55bf0fe2561f7176ec49589c63474 (patch)
treeaeb9f917ce1b7f49728ff0b59dc7bfb8b8e31df8 /usr.sbin
parentf495b1e357c24dd2c910c7b97ecb30eef797b6ef (diff)
downloadFreeBSD-src-1fc8f1cfd5b55bf0fe2561f7176ec49589c63474.zip
FreeBSD-src-1fc8f1cfd5b55bf0fe2561f7176ec49589c63474.tar.gz
The file pt_tcplisten.c lacks the $FreeBSD$ keyword. Use the opportunity to
change all files to __FBSDID. Approved by: das (mentor)
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/mount_portalfs/activate.c6
-rw-r--r--usr.sbin/mount_portalfs/conf.c6
-rw-r--r--usr.sbin/mount_portalfs/mount_portalfs.c7
-rw-r--r--usr.sbin/mount_portalfs/pt_conf.c6
-rw-r--r--usr.sbin/mount_portalfs/pt_exec.c6
-rw-r--r--usr.sbin/mount_portalfs/pt_file.c6
-rw-r--r--usr.sbin/mount_portalfs/pt_tcp.c6
-rw-r--r--usr.sbin/mount_portalfs/pt_tcplisten.c3
8 files changed, 18 insertions, 28 deletions
diff --git a/usr.sbin/mount_portalfs/activate.c b/usr.sbin/mount_portalfs/activate.c
index 6143620..2e8b13c 100644
--- a/usr.sbin/mount_portalfs/activate.c
+++ b/usr.sbin/mount_portalfs/activate.c
@@ -37,10 +37,8 @@
* @(#)activate.c 8.3 (Berkeley) 4/28/95
*/
-#ifndef lint
-static const char rcsid[] =
- "$FreeBSD$";
-#endif /* not lint */
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
#include <errno.h>
#include <string.h>
diff --git a/usr.sbin/mount_portalfs/conf.c b/usr.sbin/mount_portalfs/conf.c
index d5833e4..f3a65e6 100644
--- a/usr.sbin/mount_portalfs/conf.c
+++ b/usr.sbin/mount_portalfs/conf.c
@@ -37,10 +37,8 @@
* @(#)conf.c 8.2 (Berkeley) 3/27/94
*/
-#ifndef lint
-static const char rcsid[] =
- "$FreeBSD$";
-#endif /* not lint */
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
#include <errno.h>
#include <limits.h>
diff --git a/usr.sbin/mount_portalfs/mount_portalfs.c b/usr.sbin/mount_portalfs/mount_portalfs.c
index baad22f..5ed2145 100644
--- a/usr.sbin/mount_portalfs/mount_portalfs.c
+++ b/usr.sbin/mount_portalfs/mount_portalfs.c
@@ -40,13 +40,12 @@ char copyright[] =
The Regents of the University of California. All rights reserved.\n";
#endif /* not lint */
-#ifndef lint
#if 0
static char sccsid[] = "@(#)mount_portal.c 8.6 (Berkeley) 4/26/95";
#endif
-static const char rcsid[] =
- "$FreeBSD$";
-#endif /* not lint */
+
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
#include <sys/param.h>
#include <sys/wait.h>
diff --git a/usr.sbin/mount_portalfs/pt_conf.c b/usr.sbin/mount_portalfs/pt_conf.c
index f158a73..1f8bbc3 100644
--- a/usr.sbin/mount_portalfs/pt_conf.c
+++ b/usr.sbin/mount_portalfs/pt_conf.c
@@ -37,10 +37,8 @@
* @(#)pt_conf.c 8.1 (Berkeley) 6/5/93
*/
-#ifndef lint
-static const char rcsid[] =
- "$FreeBSD$";
-#endif /* not lint */
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
#include <sys/types.h>
#include <sys/param.h>
diff --git a/usr.sbin/mount_portalfs/pt_exec.c b/usr.sbin/mount_portalfs/pt_exec.c
index 359c78e..c5a4f56 100644
--- a/usr.sbin/mount_portalfs/pt_exec.c
+++ b/usr.sbin/mount_portalfs/pt_exec.c
@@ -37,10 +37,8 @@
* @(#)pt_exec.c 8.1 (Berkeley) 6/5/93
*/
-#ifndef lint
-static const char rcsid[] =
- "$FreeBSD$";
-#endif /* not lint */
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
#include <errno.h>
#include <sys/types.h>
diff --git a/usr.sbin/mount_portalfs/pt_file.c b/usr.sbin/mount_portalfs/pt_file.c
index f22ebd7..2aed8d0 100644
--- a/usr.sbin/mount_portalfs/pt_file.c
+++ b/usr.sbin/mount_portalfs/pt_file.c
@@ -37,10 +37,8 @@
* @(#)pt_file.c 8.3 (Berkeley) 7/3/94
*/
-#ifndef lint
-static const char rcsid[] =
- "$FreeBSD$";
-#endif /* not lint */
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
#include <errno.h>
#include <fcntl.h>
diff --git a/usr.sbin/mount_portalfs/pt_tcp.c b/usr.sbin/mount_portalfs/pt_tcp.c
index 4905616..d84b0a0 100644
--- a/usr.sbin/mount_portalfs/pt_tcp.c
+++ b/usr.sbin/mount_portalfs/pt_tcp.c
@@ -37,10 +37,8 @@
* @(#)pt_tcp.c 8.5 (Berkeley) 4/28/95
*/
-#ifndef lint
-static const char rcsid[] =
- "$FreeBSD$";
-#endif /* not lint */
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
#include <errno.h>
#include <stdlib.h>
diff --git a/usr.sbin/mount_portalfs/pt_tcplisten.c b/usr.sbin/mount_portalfs/pt_tcplisten.c
index 43a20c5..db86622 100644
--- a/usr.sbin/mount_portalfs/pt_tcplisten.c
+++ b/usr.sbin/mount_portalfs/pt_tcplisten.c
@@ -41,6 +41,9 @@
* pt_tcp.c,v 1.1.1.1 1994/05/26 06:34:34 rgrimes Exp
*/
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
+
#include <stdio.h>
#include <unistd.h>
#include <stdlib.h>
OpenPOWER on IntegriCloud