aboutsummaryrefslogtreecommitdiff
path: root/sbin/mount
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2003-05-03 18:41:59 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2003-05-03 18:41:59 +0000
commitc69284ca082cbf4cc61ba71a3413ebbbf8b3b4c5 (patch)
tree49aa00dccbd9d3c7a4e310c1b0f3deb09f6b9f54 /sbin/mount
parent7af89aab591d68cbb2d27798d625f6ed18383f82 (diff)
downloadsrc-c69284ca082cbf4cc61ba71a3413ebbbf8b3b4c5.tar.gz
src-c69284ca082cbf4cc61ba71a3413ebbbf8b3b4c5.zip
Use __FBSDID() to quiet GCC 3.3 warnings.
Notes
Notes: svn path=/head/; revision=114589
Diffstat (limited to 'sbin/mount')
-rw-r--r--sbin/mount/getmntopts.c9
-rw-r--r--sbin/mount/vfslist.c4
2 files changed, 6 insertions, 7 deletions
diff --git a/sbin/mount/getmntopts.c b/sbin/mount/getmntopts.c
index ffc18bfac219..04d2ff222858 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 d8201882eb33..0362691547af 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>