diff options
author | markm <markm@FreeBSD.org> | 2001-12-11 23:38:24 +0000 |
---|---|---|
committer | markm <markm@FreeBSD.org> | 2001-12-11 23:38:24 +0000 |
commit | 832832ca4c8760b6f657dbbc70bf0befa0d09f28 (patch) | |
tree | 0ef826007079cddb022d90ef5844f40f17e42271 | |
parent | eddee66a58abde0bc8655fd69a6f00b04fda7026 (diff) | |
download | FreeBSD-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/Makefile | 1 | ||||
-rw-r--r-- | usr.bin/touch/touch.c | 10 |
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> |