summaryrefslogtreecommitdiffstats
path: root/bin/chflags
diff options
context:
space:
mode:
authormarkm <markm@FreeBSD.org>2001-12-02 23:04:14 +0000
committermarkm <markm@FreeBSD.org>2001-12-02 23:04:14 +0000
commitb3be1b374c2059512f036e03571aa528277e4530 (patch)
tree78537fe263cdfe42459adff41a155ee60bd6e2b6 /bin/chflags
parent6bd89ae377f44970c286050b4532cd0b77b2259f (diff)
downloadFreeBSD-src-b3be1b374c2059512f036e03571aa528277e4530.zip
FreeBSD-src-b3be1b374c2059512f036e03571aa528277e4530.tar.gz
Slight makefile style.
Use __FBSDID().
Diffstat (limited to 'bin/chflags')
-rw-r--r--bin/chflags/Makefile2
-rw-r--r--bin/chflags/chflags.c12
2 files changed, 7 insertions, 7 deletions
diff --git a/bin/chflags/Makefile b/bin/chflags/Makefile
index 3493b98..aa7e265 100644
--- a/bin/chflags/Makefile
+++ b/bin/chflags/Makefile
@@ -6,6 +6,6 @@ NOSHARED?=yes
PROG= chflags
SRCS= chflags.c
-
WARNS?= 2
+
.include <bsd.prog.mk>
diff --git a/bin/chflags/chflags.c b/bin/chflags/chflags.c
index f46baa0..bac0496 100644
--- a/bin/chflags/chflags.c
+++ b/bin/chflags/chflags.c
@@ -31,19 +31,19 @@
* SUCH DAMAGE.
*/
+#include <sys/cdefs.h>
+
+__FBSDID("$FreeBSD$");
+
#ifndef lint
static const char copyright[] =
"@(#) Copyright (c) 1992, 1993, 1994\n\
The Regents of the University of California. All rights reserved.\n";
-#endif /* not lint */
+#endif
#ifndef lint
-#if 0
-static char sccsid[] = "@(#)chflags.c 8.5 (Berkeley) 4/1/94";
+static const char sccsid[] = "@(#)chflags.c 8.5 (Berkeley) 4/1/94";
#endif
-static const char rcsid[] =
- "$FreeBSD$";
-#endif /* not lint */
#include <sys/types.h>
#include <sys/stat.h>
OpenPOWER on IntegriCloud