From f614104aebe9a7ecda3d20db90c2b9db3d5d8fb5 Mon Sep 17 00:00:00 2001 From: Mark Murray Date: Sun, 2 Dec 2001 23:04:14 +0000 Subject: [PATCH] Slight makefile style. Use __FBSDID(). --- bin/chflags/Makefile | 2 +- bin/chflags/chflags.c | 12 ++++++------ usr.bin/chflags/Makefile | 2 +- usr.bin/chflags/chflags.c | 12 ++++++------ 4 files changed, 14 insertions(+), 14 deletions(-) diff --git a/bin/chflags/Makefile b/bin/chflags/Makefile index 3493b982983..aa7e2659aaa 100644 --- a/bin/chflags/Makefile +++ b/bin/chflags/Makefile @@ -6,6 +6,6 @@ NOSHARED?=yes PROG= chflags SRCS= chflags.c - WARNS?= 2 + .include diff --git a/bin/chflags/chflags.c b/bin/chflags/chflags.c index f46baa0efae..bac0496a0ac 100644 --- a/bin/chflags/chflags.c +++ b/bin/chflags/chflags.c @@ -31,19 +31,19 @@ * SUCH DAMAGE. */ +#include + +__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 #include diff --git a/usr.bin/chflags/Makefile b/usr.bin/chflags/Makefile index 3493b982983..aa7e2659aaa 100644 --- a/usr.bin/chflags/Makefile +++ b/usr.bin/chflags/Makefile @@ -6,6 +6,6 @@ NOSHARED?=yes PROG= chflags SRCS= chflags.c - WARNS?= 2 + .include diff --git a/usr.bin/chflags/chflags.c b/usr.bin/chflags/chflags.c index f46baa0efae..bac0496a0ac 100644 --- a/usr.bin/chflags/chflags.c +++ b/usr.bin/chflags/chflags.c @@ -31,19 +31,19 @@ * SUCH DAMAGE. */ +#include + +__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 #include