summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
authormarkm <markm@FreeBSD.org>2001-12-11 22:25:43 +0000
committermarkm <markm@FreeBSD.org>2001-12-11 22:25:43 +0000
commit496247b54e04866c8cd7f8ea720cef96cc77de62 (patch)
tree4d0b0873489337ba1222404650ea6f30f23df616 /usr.bin
parent6a4e19a831c98a56a73f7d89144e842361ee14c1 (diff)
downloadFreeBSD-src-496247b54e04866c8cd7f8ea720cef96cc77de62.zip
FreeBSD-src-496247b54e04866c8cd7f8ea720cef96cc77de62.tar.gz
Use __FBSDID(). remove WARNS=2 as this is going to be default.
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/what/Makefile1
-rw-r--r--usr.bin/what/what.c12
2 files changed, 6 insertions, 7 deletions
diff --git a/usr.bin/what/Makefile b/usr.bin/what/Makefile
index 73f2537..8114290 100644
--- a/usr.bin/what/Makefile
+++ b/usr.bin/what/Makefile
@@ -2,6 +2,5 @@
# $FreeBSD$
PROG= what
-WARNS?= 2
.include <bsd.prog.mk>
diff --git a/usr.bin/what/what.c b/usr.bin/what/what.c
index 8bb97e5..69ab1d4 100644
--- a/usr.bin/what/what.c
+++ b/usr.bin/what/what.c
@@ -31,19 +31,19 @@
* SUCH DAMAGE.
*/
+#include <sys/cdefs.h>
+
+__FBSDID("$FreeBSD$");
+
#ifndef lint
static const char copyright[] =
"@(#) Copyright (c) 1980, 1988, 1993\n\
The Regents of the University of California. All rights reserved.\n";
-#endif /* not lint */
+#endif
#ifndef lint
-#if 0
-static char sccsid[] = "@(#)what.c 8.1 (Berkeley) 6/6/93";
+static const char sccsid[] = "@(#)what.c 8.1 (Berkeley) 6/6/93";
#endif
-static const char rcsid[] =
- "$FreeBSD$";
-#endif /* not lint */
#include <err.h>
#include <stdio.h>
OpenPOWER on IntegriCloud