diff options
author | dwmalone <dwmalone@FreeBSD.org> | 2001-12-10 21:13:08 +0000 |
---|---|---|
committer | dwmalone <dwmalone@FreeBSD.org> | 2001-12-10 21:13:08 +0000 |
commit | d9613ea3837925885145ecab86d9945be73cb303 (patch) | |
tree | 1442452df82ec8f2c59ad6b71923e5a41a2c26fa /usr.bin/printenv | |
parent | 41ac2526112f730a179b27f89b169ad414cd947b (diff) | |
download | FreeBSD-src-d9613ea3837925885145ecab86d9945be73cb303.zip FreeBSD-src-d9613ea3837925885145ecab86d9945be73cb303.tar.gz |
Style improvements recommended by Bruce as a follow up to some
of the recent WARNS commits. The idea is:
1) FreeBSD id tags should follow vendor tags.
2) Vendor tags should not be compiled (though copyrights probably should).
3) There should be no blank line between including cdefs and __FBSDIF.
Diffstat (limited to 'usr.bin/printenv')
-rw-r--r-- | usr.bin/printenv/Makefile | 2 | ||||
-rw-r--r-- | usr.bin/printenv/printenv.c | 11 |
2 files changed, 7 insertions, 6 deletions
diff --git a/usr.bin/printenv/Makefile b/usr.bin/printenv/Makefile index b8fbd6a..402dc58 100644 --- a/usr.bin/printenv/Makefile +++ b/usr.bin/printenv/Makefile @@ -1,5 +1,5 @@ -# $FreeBSD$ # @(#)Makefile 8.1 (Berkeley) 6/6/93 +# $FreeBSD$ PROG= printenv MLINKS= printenv.1 env.1 diff --git a/usr.bin/printenv/printenv.c b/usr.bin/printenv/printenv.c index 72722a3..cf825c2 100644 --- a/usr.bin/printenv/printenv.c +++ b/usr.bin/printenv/printenv.c @@ -31,19 +31,20 @@ * SUCH DAMAGE. */ -#include <sys/cdefs.h> - -__FBSDID("$FreeBSD$"); - #ifndef lint static const char copyright[] = "@(#) Copyright (c) 1987, 1993\n\ The Regents of the University of California. All rights reserved.\n"; #endif /* not lint */ +#if 0 #ifndef lint -static const char sccsid[] = "@(#)printenv.c 8.2 (Berkeley) 5/4/95"; +static char sccsid[] = "@(#)printenv.c 8.2 (Berkeley) 5/4/95"; #endif /* not lint */ +#endif + +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); #include <sys/types.h> |