From 1d0d6bd7d407210f948962451d0983efdeb2eaf7 Mon Sep 17 00:00:00 2001 From: ed Date: Sun, 29 May 2016 12:21:54 +0000 Subject: [PATCH] Fix style of the libgen.h header. - Remove unneeded declarations of removed/unimplemented features. - Add missing tab after #define. - Add missing ! before trailing comment. --- include/libgen.h | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/include/libgen.h b/include/libgen.h index 0d4472f0168e..28c0067a27d2 100644 --- a/include/libgen.h +++ b/include/libgen.h @@ -29,22 +29,14 @@ */ #ifndef _LIBGEN_H_ -#define _LIBGEN_H_ +#define _LIBGEN_H_ #include __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_ */