summaryrefslogtreecommitdiffstats
path: root/sbin/badsect
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2003-05-03 18:41:59 +0000
committerobrien <obrien@FreeBSD.org>2003-05-03 18:41:59 +0000
commit19105c8312c841631a5eff3408f8a43f4958e9ba (patch)
tree49aa00dccbd9d3c7a4e310c1b0f3deb09f6b9f54 /sbin/badsect
parent7113858cc752a0d0c37bba9a3ead02f89a580a71 (diff)
downloadFreeBSD-src-19105c8312c841631a5eff3408f8a43f4958e9ba.zip
FreeBSD-src-19105c8312c841631a5eff3408f8a43f4958e9ba.tar.gz
Use __FBSDID() to quiet GCC 3.3 warnings.
Diffstat (limited to 'sbin/badsect')
-rw-r--r--sbin/badsect/badsect.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sbin/badsect/badsect.c b/sbin/badsect/badsect.c
index bce66c9..3dd2598 100644
--- a/sbin/badsect/badsect.c
+++ b/sbin/badsect/badsect.c
@@ -31,6 +31,7 @@
* SUCH DAMAGE.
*/
+#if 0
#ifndef lint
static const char copyright[] =
"@(#) Copyright (c) 1981, 1983, 1993\n\
@@ -38,12 +39,11 @@ static const char copyright[] =
#endif /* not lint */
#ifndef lint
-#if 0
static const char sccsid[] = "@(#)badsect.c 8.1 (Berkeley) 6/5/93";
#endif
-static const char rcsid[] =
- "$FreeBSD$";
-#endif /* not lint */
+#endif
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
/*
* badsect
OpenPOWER on IntegriCloud