diff options
author | obrien <obrien@FreeBSD.org> | 2003-05-03 18:41:59 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2003-05-03 18:41:59 +0000 |
commit | 19105c8312c841631a5eff3408f8a43f4958e9ba (patch) | |
tree | 49aa00dccbd9d3c7a4e310c1b0f3deb09f6b9f54 /sbin/newfs | |
parent | 7113858cc752a0d0c37bba9a3ead02f89a580a71 (diff) | |
download | FreeBSD-src-19105c8312c841631a5eff3408f8a43f4958e9ba.zip FreeBSD-src-19105c8312c841631a5eff3408f8a43f4958e9ba.tar.gz |
Use __FBSDID() to quiet GCC 3.3 warnings.
Diffstat (limited to 'sbin/newfs')
-rw-r--r-- | sbin/newfs/mkfs.c | 8 | ||||
-rw-r--r-- | sbin/newfs/newfs.c | 8 |
2 files changed, 8 insertions, 8 deletions
diff --git a/sbin/newfs/mkfs.c b/sbin/newfs/mkfs.c index 895d5a9..faadedb 100644 --- a/sbin/newfs/mkfs.c +++ b/sbin/newfs/mkfs.c @@ -40,13 +40,13 @@ * SUCH DAMAGE. */ -#ifndef lint #if 0 +#ifndef lint static char sccsid[] = "@(#)mkfs.c 8.11 (Berkeley) 5/3/95"; -#endif -static const char rcsid[] = - "$FreeBSD$"; #endif /* not lint */ +#endif +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); #include <err.h> #include <limits.h> diff --git a/sbin/newfs/newfs.c b/sbin/newfs/newfs.c index 33493c8..584ff0c 100644 --- a/sbin/newfs/newfs.c +++ b/sbin/newfs/newfs.c @@ -40,6 +40,7 @@ * SUCH DAMAGE. */ +#if 0 #ifndef lint static const char copyright[] = "@(#) Copyright (c) 1983, 1989, 1993, 1994\n\ @@ -47,12 +48,11 @@ static const char copyright[] = #endif /* not lint */ #ifndef lint -#if 0 static char sccsid[] = "@(#)newfs.c 8.13 (Berkeley) 5/1/95"; -#endif -static const char rcsid[] = - "$FreeBSD$"; #endif /* not lint */ +#endif +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); /* * newfs: friendly front end to mkfs |