X-Git-Url: https://git.saurik.com/apple/libc.git/blobdiff_plain/59e0d9fe772464b93d835d2a2964457702469a43..fbd86d4cc20b02a10edcca92fb7ae0a143e63cc4:/include/ftw.h?ds=sidebyside diff --git a/include/ftw.h b/include/ftw.h index 1601ad2..f1c6db8 100644 --- a/include/ftw.h +++ b/include/ftw.h @@ -23,7 +23,6 @@ #ifndef _FTW_H #define _FTW_H -#include #include /* @@ -52,9 +51,28 @@ struct FTW { }; __BEGIN_DECLS -int ftw(const char *, int (*)(const char *, const struct stat *, int), int); +//Begin-Libc +#ifndef LIBC_ALIAS_FTW +//End-Libc +int ftw(const char *, int (*)(const char *, const struct stat *, int), int) + __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); + 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 */