1
0
Fork 0
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:
Jonas 'Sortie' Termansen 2015-05-12 16:41:53 +02:00
parent 4cb9ccfc4b
commit f3f7ede68d

View file

@ -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);