Loading...
--- Libc/Libc-391.5.21/include/ftw.h
+++ Libc/Libc-1725.40.4/include/ftw.h
@@ -24,6 +24,9 @@
 #define	_FTW_H
 
 #include <sys/stat.h>
+#include <_bounds.h>
+
+_LIBC_SINGLE_BY_DEFAULT()
 
 /*
  * Valid flags for the 3rd argument to the function that is passed as the
@@ -51,10 +54,28 @@
 };
 
 __BEGIN_DECLS
+//Begin-Libc
+#ifndef LIBC_ALIAS_FTW
+//End-Libc
 int	ftw(const char *, int (*)(const char *, const struct stat *, int), int) 
-	__DARWIN_ALIAS(ftw);
+	__DARWIN_ALIAS_I(ftw);
+//Begin-Libc
+#else /* LIBC_ALIAS_FTW */
+int	ftw(const char *, int (*)(const char *, const struct stat *, int), int) 
+	LIBC_ALIAS_I(ftw);
+#endif /* !LIBC_ALIAS_FTW */
+//End-Libc
+//Begin-Libc
+#ifndef LIBC_ALIAS_NFTW
+//End-Libc
 int	nftw(const char *, int (*)(const char *, const struct stat *, int,
-	    struct FTW *), int, int) __DARWIN_ALIAS(nftw);
+	    struct FTW *), int, int) __DARWIN_ALIAS_I(nftw);
+//Begin-Libc
+#else /* LIBC_ALIAS_NFTW */
+int	nftw(const char *, int (*)(const char *, const struct stat *, int,
+	    struct FTW *), int, int) LIBC_ALIAS_I(nftw);
+#endif /* !LIBC_ALIAS_NFTW */
+//End-Libc
 __END_DECLS
 
 #endif	/* !_FTW_H */