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/basename | |
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/basename')
-rw-r--r-- | usr.bin/basename/basename.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/usr.bin/basename/basename.c b/usr.bin/basename/basename.c index c7e4b47..cc407c9 100644 --- a/usr.bin/basename/basename.c +++ b/usr.bin/basename/basename.c @@ -31,19 +31,20 @@ * SUCH DAMAGE. */ -#include <sys/cdefs.h> - -__FBSDID("$FreeBSD$"); - #ifndef lint static const char copyright[] = "@(#) Copyright (c) 1991, 1993, 1994\n\ The Regents of the University of California. All rights reserved.\n"; #endif +#if 0 #ifndef lint -static const char sccsid[] = "@(#)basename.c 8.4 (Berkeley) 5/4/95"; +static char sccsid[] = "@(#)basename.c 8.4 (Berkeley) 5/4/95"; #endif /* not lint */ +#endif + +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); #include <err.h> #include <libgen.h> |