summaryrefslogtreecommitdiffstats
path: root/sbin/swapon
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/swapon
parent7113858cc752a0d0c37bba9a3ead02f89a580a71 (diff)
downloadFreeBSD-src-19105c8312c841631a5eff3408f8a43f4958e9ba.zip
FreeBSD-src-19105c8312c841631a5eff3408f8a43f4958e9ba.tar.gz
Use __FBSDID() to quiet GCC 3.3 warnings.
Diffstat (limited to 'sbin/swapon')
-rw-r--r--sbin/swapon/swapon.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sbin/swapon/swapon.c b/sbin/swapon/swapon.c
index ae88c8c..063eff4 100644
--- a/sbin/swapon/swapon.c
+++ b/sbin/swapon/swapon.c
@@ -31,6 +31,7 @@
* SUCH DAMAGE.
*/
+#if 0
#ifndef lint
static const char copyright[] =
"@(#) Copyright (c) 1980, 1993\n\
@@ -38,12 +39,11 @@ static const char copyright[] =
#endif /* not lint */
#ifndef lint
-#if 0
static char sccsid[] = "@(#)swapon.c 8.1 (Berkeley) 6/5/93";
-#endif
-static const char rcsid[] =
- "$FreeBSD$";
#endif /* not lint */
+#endif
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
#include <sys/stat.h>
#include <sys/param.h>
OpenPOWER on IntegriCloud