aboutsummaryrefslogtreecommitdiff
path: root/sbin/swapon
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/swapon
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/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 ae88c8ca9f62..063eff4c7db6 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>