WARNS=2 is going to be the default, so don't specify it. Use __FBSDID().

This commit is contained in:
Mark Murray 2001-12-11 23:38:24 +00:00
parent 787324755c
commit 1a9e1c9da1
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=87706
2 changed files with 5 additions and 6 deletions

View File

@ -2,6 +2,5 @@
# $FreeBSD$ # $FreeBSD$
PROG= touch PROG= touch
WARNS?= 2
.include <bsd.prog.mk> .include <bsd.prog.mk>

View File

@ -31,19 +31,19 @@
* SUCH DAMAGE. * SUCH DAMAGE.
*/ */
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
#ifndef lint #ifndef lint
static const char copyright[] = static const char copyright[] =
"@(#) Copyright (c) 1993\n\ "@(#) Copyright (c) 1993\n\
The Regents of the University of California. All rights reserved.\n"; The Regents of the University of California. All rights reserved.\n";
#endif /* not lint */ #endif
#ifndef lint #ifndef lint
#if 0
static const char sccsid[] = "@(#)touch.c 8.1 (Berkeley) 6/6/93"; static const char sccsid[] = "@(#)touch.c 8.1 (Berkeley) 6/6/93";
#endif #endif
static const char rcsid[] =
"$FreeBSD$";
#endif /* not lint */
#include <sys/types.h> #include <sys/types.h>
#include <sys/stat.h> #include <sys/stat.h>