X-Git-Url: https://git.saurik.com/apple/libc.git/blobdiff_plain/3d9156a7a519a5e3aa1b92e9d9d4b991f1aed7ff..fbd86d4cc20b02a10edcca92fb7ae0a143e63cc4:/include/ftw.h diff --git a/include/ftw.h b/include/ftw.h index 4fda285..f1c6db8 100644 --- a/include/ftw.h +++ b/include/ftw.h @@ -51,10 +51,28 @@ struct FTW { }; __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_I(nftw); +//Begin-Libc +#else /* LIBC_ALIAS_NFTW */ int nftw(const char *, int (*)(const char *, const struct stat *, int, - struct FTW *), int, int) __DARWIN_ALIAS(nftw); + struct FTW *), int, int) LIBC_ALIAS_I(nftw); +#endif /* !LIBC_ALIAS_NFTW */ +//End-Libc __END_DECLS #endif /* !_FTW_H */