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/mount | |
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/mount')
-rw-r--r-- | sbin/mount/getmntopts.c | 9 | ||||
-rw-r--r-- | sbin/mount/vfslist.c | 4 |
2 files changed, 6 insertions, 7 deletions
diff --git a/sbin/mount/getmntopts.c b/sbin/mount/getmntopts.c index ffc18bf..04d2ff2 100644 --- a/sbin/mount/getmntopts.c +++ b/sbin/mount/getmntopts.c @@ -31,14 +31,13 @@ * SUCH DAMAGE. */ -#ifndef lint #if 0 +#ifndef lint static char sccsid[] = "@(#)getmntopts.c 8.3 (Berkeley) 3/29/95"; -#else -static const char rcsid[] = - "$FreeBSD$"; -#endif #endif /* not lint */ +#endif +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); #include <sys/param.h> #include <sys/stat.h> diff --git a/sbin/mount/vfslist.c b/sbin/mount/vfslist.c index d820188..0362691 100644 --- a/sbin/mount/vfslist.c +++ b/sbin/mount/vfslist.c @@ -35,9 +35,9 @@ #if 0 static char sccsid[] = "@(#)vfslist.c 8.1 (Berkeley) 5/8/95"; #endif -static const char rcsid[] = - "$FreeBSD$"; #endif /* not lint */ +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); #include <err.h> #include <stdlib.h> |