diff options
author | Bruce Evans <bde@FreeBSD.org> | 2002-01-31 12:58:36 +0000 |
---|---|---|
committer | Bruce Evans <bde@FreeBSD.org> | 2002-01-31 12:58:36 +0000 |
commit | 56bcbf00e27de12298bc3d6de9d6925b6f431145 (patch) | |
tree | 8d8255cfd7b380c8127842c5c581b0db80619b57 /lib/libc/gen/dirname.c | |
parent | e6f56180e37352416e445c7510456cf2ae88c337 (diff) | |
download | src-56bcbf00e27de12298bc3d6de9d6925b6f431145.tar.gz src-56bcbf00e27de12298bc3d6de9d6925b6f431145.zip |
Fixed world breakage due to missing include of <sys/cdefs.h> in previous
commit.
Fixed related style bugs:
basename.c: misplaced '#if 0'
dirname.c: misplaced '#if 0'
getgrent.c: missing '#if 0', and tab lossage in vendor id (the previous
commit fixed the complete corruption of the vendor id but
lost a tab)
getpwent.c: missing '#if 0'
Notes
Notes:
svn path=/head/; revision=90016
Diffstat (limited to 'lib/libc/gen/dirname.c')
-rw-r--r-- | lib/libc/gen/dirname.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/libc/gen/dirname.c b/lib/libc/gen/dirname.c index 2ab20865ba8f..c46b32e9910c 100644 --- a/lib/libc/gen/dirname.c +++ b/lib/libc/gen/dirname.c @@ -25,11 +25,13 @@ * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#ifndef lint #if 0 +#ifndef lint static char rcsid[] = "$OpenBSD: dirname.c,v 1.4 1999/05/30 17:10:30 espie Exp $"; -#endif #endif /* not lint */ +#endif + +#include <sys/cdefs.h> __FBSDID("$FreeBSD$"); #include <errno.h> |