diff options
author | obrien <obrien@FreeBSD.org> | 2003-05-03 21:06:42 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2003-05-03 21:06:42 +0000 |
commit | 7293a24a2b093fcb82ba80e14cb33ff03e2e24e8 (patch) | |
tree | f908d178ab0f2ab51334f4e63465f30c284a3a41 /usr.sbin/mtree | |
parent | bc6b9b68d5f38a2f90f272ea6a2abd6add012a7d (diff) | |
download | FreeBSD-src-7293a24a2b093fcb82ba80e14cb33ff03e2e24e8.zip FreeBSD-src-7293a24a2b093fcb82ba80e14cb33ff03e2e24e8.tar.gz |
Use __FBSDID over rcsid[]. Protect copyright[] where needed.
Diffstat (limited to 'usr.sbin/mtree')
-rw-r--r-- | usr.sbin/mtree/compare.c | 8 | ||||
-rw-r--r-- | usr.sbin/mtree/create.c | 8 | ||||
-rw-r--r-- | usr.sbin/mtree/excludes.c | 4 | ||||
-rw-r--r-- | usr.sbin/mtree/misc.c | 8 | ||||
-rw-r--r-- | usr.sbin/mtree/mtree.c | 8 | ||||
-rw-r--r-- | usr.sbin/mtree/spec.c | 8 | ||||
-rw-r--r-- | usr.sbin/mtree/verify.c | 8 |
7 files changed, 26 insertions, 26 deletions
diff --git a/usr.sbin/mtree/compare.c b/usr.sbin/mtree/compare.c index 9aa768f..1732d13 100644 --- a/usr.sbin/mtree/compare.c +++ b/usr.sbin/mtree/compare.c @@ -31,13 +31,13 @@ * SUCH DAMAGE. */ -#ifndef lint #if 0 +#ifndef lint static char sccsid[] = "@(#)compare.c 8.1 (Berkeley) 6/6/93"; -#endif -static const char rcsid[] = - "$FreeBSD$"; #endif /* not lint */ +#endif +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); #include <sys/param.h> #include <sys/stat.h> diff --git a/usr.sbin/mtree/create.c b/usr.sbin/mtree/create.c index 7e50be3..a42f810 100644 --- a/usr.sbin/mtree/create.c +++ b/usr.sbin/mtree/create.c @@ -31,13 +31,13 @@ * SUCH DAMAGE. */ -#ifndef lint #if 0 +#ifndef lint static char sccsid[] = "@(#)create.c 8.1 (Berkeley) 6/6/93"; -#endif -static const char rcsid[] = - "$FreeBSD$"; #endif /* not lint */ +#endif +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); #include <sys/param.h> #include <sys/stat.h> diff --git a/usr.sbin/mtree/excludes.c b/usr.sbin/mtree/excludes.c index 253ef00..e67cdb9 100644 --- a/usr.sbin/mtree/excludes.c +++ b/usr.sbin/mtree/excludes.c @@ -27,8 +27,8 @@ * SUCH DAMAGE. */ -static const char rcsid[] = - "$FreeBSD$"; +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); #include <sys/types.h> #include <sys/time.h> /* XXX for mtree.h */ diff --git a/usr.sbin/mtree/misc.c b/usr.sbin/mtree/misc.c index 473adb7..1e3ca07 100644 --- a/usr.sbin/mtree/misc.c +++ b/usr.sbin/mtree/misc.c @@ -31,13 +31,13 @@ * SUCH DAMAGE. */ -#ifndef lint #if 0 +#ifndef lint static char sccsid[] = "@(#)misc.c 8.1 (Berkeley) 6/6/93"; -#endif -static const char rcsid[] = - "$FreeBSD$"; #endif /*not lint */ +#endif +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); #include <sys/types.h> #include <sys/stat.h> diff --git a/usr.sbin/mtree/mtree.c b/usr.sbin/mtree/mtree.c index dc9ef56..0bb40d9 100644 --- a/usr.sbin/mtree/mtree.c +++ b/usr.sbin/mtree/mtree.c @@ -31,6 +31,7 @@ * SUCH DAMAGE. */ +#if 0 #ifndef lint static const char copyright[] = "@(#) Copyright (c) 1989, 1990, 1993\n\ @@ -38,12 +39,11 @@ static const char copyright[] = #endif /* not lint */ #ifndef lint -#if 0 static char sccsid[] = "@(#)mtree.c 8.1 (Berkeley) 6/6/93"; -#endif -static const char rcsid[] = - "$FreeBSD$"; #endif /* not lint */ +#endif +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); #include <sys/param.h> #include <sys/stat.h> diff --git a/usr.sbin/mtree/spec.c b/usr.sbin/mtree/spec.c index cbf0f50..69786ec 100644 --- a/usr.sbin/mtree/spec.c +++ b/usr.sbin/mtree/spec.c @@ -31,13 +31,13 @@ * SUCH DAMAGE. */ -#ifndef lint #if 0 +#ifndef lint static char sccsid[] = "@(#)spec.c 8.1 (Berkeley) 6/6/93"; -#endif -static const char rcsid[] = - "$FreeBSD$"; #endif /* not lint */ +#endif +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); #include <sys/types.h> #include <sys/stat.h> diff --git a/usr.sbin/mtree/verify.c b/usr.sbin/mtree/verify.c index 49e2142..b151e59 100644 --- a/usr.sbin/mtree/verify.c +++ b/usr.sbin/mtree/verify.c @@ -31,13 +31,13 @@ * SUCH DAMAGE. */ -#ifndef lint #if 0 +#ifndef lint static char sccsid[] = "@(#)verify.c 8.1 (Berkeley) 6/6/93"; -#endif -static const char rcsid[] = - "$FreeBSD$"; #endif /* not lint */ +#endif +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); #include <sys/param.h> #include <sys/stat.h> |