summaryrefslogtreecommitdiffstats
path: root/lib/libc/gen/basename.c
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>2002-01-31 12:58:36 +0000
committerbde <bde@FreeBSD.org>2002-01-31 12:58:36 +0000
commit6f84f53a9e15e477fb800d6c71805445b5df3f04 (patch)
tree8d8255cfd7b380c8127842c5c581b0db80619b57 /lib/libc/gen/basename.c
parent17c3ef73cc82ff148034bff43775f2993c3f839a (diff)
downloadFreeBSD-src-6f84f53a9e15e477fb800d6c71805445b5df3f04.zip
FreeBSD-src-6f84f53a9e15e477fb800d6c71805445b5df3f04.tar.gz
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'
Diffstat (limited to 'lib/libc/gen/basename.c')
-rw-r--r--lib/libc/gen/basename.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/libc/gen/basename.c b/lib/libc/gen/basename.c
index f71627f..ab268cd 100644
--- a/lib/libc/gen/basename.c
+++ b/lib/libc/gen/basename.c
@@ -25,11 +25,13 @@
* ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef lint
#if 0
+#ifndef lint
static char rcsid[] = "$OpenBSD: basename.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>
OpenPOWER on IntegriCloud