mirror of
https://gitlab.com/sortix/sortix.git
synced 2023-02-13 20:55:38 -05:00
Remove _DIRENT_HAVE_D_FOO and _D_BAR_NAMLEN.
This commit is contained in:
parent
4cb9ccfc4b
commit
f3f7ede68d
1 changed files with 0 additions and 10 deletions
|
@ -84,16 +84,6 @@ struct dirent
|
|||
__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);
|
||||
DIR* opendir(const char* path);
|
||||
struct dirent* readdir(DIR* dir);
|
||||
|
|
Loading…
Reference in a new issue