From f3f7ede68d53e785f673c19b4e151beda97c1a51 Mon Sep 17 00:00:00 2001 From: Jonas 'Sortie' Termansen Date: Tue, 12 May 2015 16:41:53 +0200 Subject: [PATCH] Remove _DIRENT_HAVE_D_FOO and _D_BAR_NAMLEN. --- libc/include/dirent.h | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/libc/include/dirent.h b/libc/include/dirent.h index e045e797..a26a4084 100644 --- a/libc/include/dirent.h +++ b/libc/include/dirent.h @@ -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);