summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authored <ed@FreeBSD.org>2016-05-29 12:21:54 +0000
committered <ed@FreeBSD.org>2016-05-29 12:21:54 +0000
commit1d0d6bd7d407210f948962451d0983efdeb2eaf7 (patch)
treed344f0cc289bff9664a2f9d48db8131d06ae6f00 /include
parentbfed8b7764fee498dee2fe49f3920e22955c0300 (diff)
downloadFreeBSD-src-1d0d6bd7d407210f948962451d0983efdeb2eaf7.zip
FreeBSD-src-1d0d6bd7d407210f948962451d0983efdeb2eaf7.tar.gz
Fix style of the libgen.h header.
- Remove unneeded declarations of removed/unimplemented features. - Add missing tab after #define. - Add missing ! before trailing comment.
Diffstat (limited to 'include')
-rw-r--r--include/libgen.h12
1 files changed, 2 insertions, 10 deletions
diff --git a/include/libgen.h b/include/libgen.h
index 0d4472f..28c0067 100644
--- a/include/libgen.h
+++ b/include/libgen.h
@@ -29,22 +29,14 @@
*/
#ifndef _LIBGEN_H_
-#define _LIBGEN_H_
+#define _LIBGEN_H_
#include <sys/cdefs.h>
__BEGIN_DECLS
-
char *basename(const char *);
char *basename_r(const char *, char *);
char *dirname(const char *);
-#if 0
-char *regcmp(const char *, ...);
-char *regex(const char *, const char *, ...);
-
-extern char *__loc1;
-#endif
-
__END_DECLS
-#endif /* _LIBGEN_H_ */
+#endif /* !_LIBGEN_H_ */
OpenPOWER on IntegriCloud