X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=include%2Fdirent.h;h=ca000bd903673208c671ce4b795b02025dbfdf27;hb=d02c50d6a34ff28db2486fbeac86e513286d52e9;hp=a98062948b4cae7b7fed4a421f47039b03ae4cb8;hpb=5d0d6d983664cc3816d63432397271719dade83c;p=musl diff --git a/include/dirent.h b/include/dirent.h index a9806294..ca000bd9 100644 --- a/include/dirent.h +++ b/include/dirent.h @@ -21,6 +21,8 @@ struct dirent char d_name[1]; }; +#define d_fileno d_ino + int closedir(DIR *); DIR *fdopendir(int); DIR *opendir(const char *); @@ -46,10 +48,10 @@ int scandir(const char *, struct dirent ***, int (*)(const struct dirent *), int #define DT_WHT 14 #define IFTODT(x) ((x)>>12 & 017) #define DTTOIF(x) ((x)<<12) -#endf +#endif #ifdef __cplusplus -extern } +} #endif #endif