X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=include%2Fftw.h;h=d0445e8ad26a373bf8fabb45277cd800d7d8ece2;hb=25e6fee27f4a293728dd15b659170e7b9c7db9bc;hp=f5eb9f67b029c14f56e8717fc9a4aaea1d4ee297;hpb=c1a9658bd19245ff0fb52d3da567815d822fb622;p=musl diff --git a/include/ftw.h b/include/ftw.h index f5eb9f67..d0445e8a 100644 --- a/include/ftw.h +++ b/include/ftw.h @@ -6,10 +6,6 @@ extern "C" { #endif #include - -/* Normally we do not nest header includes. However useless bloat - * like ftw may be treated as a special case. Otherwise we would - * have to deal with duplicating all the stat.h mess. */ #include #define FTW_F 1 @@ -25,8 +21,7 @@ extern "C" { #define FTW_CHDIR 4 #define FTW_DEPTH 8 -struct FTW -{ +struct FTW { int base; int level; }; @@ -34,7 +29,7 @@ struct FTW int ftw(const char *, int (*)(const char *, const struct stat *, int), int); int nftw(const char *, int (*)(const char *, const struct stat *, int, struct FTW *), int, int); -#if defined(_LARGEFILE64_SOURCE) || defined(_GNU_SOURCE) +#if defined(_LARGEFILE64_SOURCE) #define ftw64 ftw #define nftw64 nftw #endif