Remove _DIRENT_HAVE_D_FOO and _D_BAR_NAMLEN.
This commit is contained in:
parent
4cb9ccfc4b
commit
f3f7ede68d
|
@ -84,16 +84,6 @@ struct dirent
|
||||||
__extension__ char d_name[];
|
__extension__ char d_name[];
|
||||||
};
|
};
|
||||||
|
|
||||||
#define _DIRENT_HAVE_D_RECLEN
|
|
||||||
#define _DIRENT_HAVE_D_NAMLEN
|
|
||||||
#undef _DIRENT_HAVE_D_OFF
|
|
||||||
#define _DIRENT_HAVE_D_INO
|
|
||||||
#define _DIRENT_HAVE_D_DEV
|
|
||||||
#define _DIRENT_HAVE_D_TYPE
|
|
||||||
|
|
||||||
#define _D_EXACT_NAMLEN(d) ((d)->d_namlen)
|
|
||||||
#define _D_ALLOC_NAMLEN(d) (_D_EXACT_NAMLEN(d) + 1)
|
|
||||||
|
|
||||||
int closedir(DIR* dir);
|
int closedir(DIR* dir);
|
||||||
DIR* opendir(const char* path);
|
DIR* opendir(const char* path);
|
||||||
struct dirent* readdir(DIR* dir);
|
struct dirent* readdir(DIR* dir);
|
||||||
|
|
Loading…
Reference in New Issue