summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarkm <markm@FreeBSD.org>2001-12-11 23:38:24 +0000
committermarkm <markm@FreeBSD.org>2001-12-11 23:38:24 +0000
commit832832ca4c8760b6f657dbbc70bf0befa0d09f28 (patch)
tree0ef826007079cddb022d90ef5844f40f17e42271
parenteddee66a58abde0bc8655fd69a6f00b04fda7026 (diff)
downloadFreeBSD-src-832832ca4c8760b6f657dbbc70bf0befa0d09f28.zip
FreeBSD-src-832832ca4c8760b6f657dbbc70bf0befa0d09f28.tar.gz
WARNS=2 is going to be the default, so don't specify it. Use __FBSDID().
-rw-r--r--usr.bin/touch/Makefile1
-rw-r--r--usr.bin/touch/touch.c10
2 files changed, 5 insertions, 6 deletions
diff --git a/usr.bin/touch/Makefile b/usr.bin/touch/Makefile
index 2936165..e44f4f2 100644
--- a/usr.bin/touch/Makefile
+++ b/usr.bin/touch/Makefile
@@ -2,6 +2,5 @@
# $FreeBSD$
PROG= touch
-WARNS?= 2
.include <bsd.prog.mk>
diff --git a/usr.bin/touch/touch.c b/usr.bin/touch/touch.c
index d441e32..3e6be89 100644
--- a/usr.bin/touch/touch.c
+++ b/usr.bin/touch/touch.c
@@ -31,19 +31,19 @@
* SUCH DAMAGE.
*/
+#include <sys/cdefs.h>
+
+__FBSDID("$FreeBSD$");
+
#ifndef lint
static const char copyright[] =
"@(#) Copyright (c) 1993\n\
The Regents of the University of California. All rights reserved.\n";
-#endif /* not lint */
+#endif
#ifndef lint
-#if 0
static const char sccsid[] = "@(#)touch.c 8.1 (Berkeley) 6/6/93";
#endif
-static const char rcsid[] =
- "$FreeBSD$";
-#endif /* not lint */
#include <sys/types.h>
#include <sys/stat.h>
OpenPOWER on IntegriCloud