Loading...
include/fnmatch.h Libc-1725.40.4 Libc-391
--- Libc/Libc-1725.40.4/include/fnmatch.h
+++ Libc/Libc-391/include/fnmatch.h
@@ -58,10 +58,7 @@
 #ifndef	_FNMATCH_H_
 #define	_FNMATCH_H_
 
-#include <_bounds.h>
 #include <sys/cdefs.h>
-
-_LIBC_SINGLE_BY_DEFAULT()
 
 #define	FNM_NOMATCH	1	/* Match failed. */
 
@@ -71,7 +68,7 @@
 
 #define	FNM_NOSYS	(-1)	/* Reserved. */
 
-#if !defined(_ANSI_SOURCE) && (!defined(_POSIX_C_SOURCE) || defined(_DARWIN_C_SOURCE))
+#if !defined(_ANSI_SOURCE) && !defined(_POSIX_C_SOURCE)
 #define	FNM_LEADING_DIR	0x08	/* Ignore /<tail> after Imatch. */
 #define	FNM_CASEFOLD	0x10	/* Case insensitive search. */
 #define	FNM_IGNORECASE	FNM_CASEFOLD
@@ -79,15 +76,7 @@
 #endif
 
 __BEGIN_DECLS
-//Begin-Libc
-#ifndef LIBC_ALIAS_FNMATCH
-//End-Libc
-int	 fnmatch(const char *, const char *, int) __DARWIN_ALIAS(fnmatch);
-//Begin-Libc
-#else /* LIBC_ALIAS_FNMATCH */
-int	 fnmatch(const char *, const char *, int) LIBC_ALIAS(fnmatch);
-#endif /* !LIBC_ALIAS_FNMATCH */
-//End-Libc
+int	 fnmatch(const char *, const char *, int);
 __END_DECLS
 
 #endif /* !_FNMATCH_H_ */