summaryrefslogtreecommitdiff
path: root/libc/misc/glob/glob64.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/misc/glob/glob64.c')
-rw-r--r--libc/misc/glob/glob64.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/libc/misc/glob/glob64.c b/libc/misc/glob/glob64.c
index bc2ba682f..3ca7a93f8 100644
--- a/libc/misc/glob/glob64.c
+++ b/libc/misc/glob/glob64.c
@@ -11,8 +11,6 @@
#include <sys/stat.h>
#define dirent dirent64
-#define __readdir(dirp) readdir64 (dirp)
-#define __readdir64(dirp) readdir64 (dirp)
#define glob_t glob64_t
#define glob(pattern, flags, errfunc, pglob) \
@@ -21,10 +19,7 @@
#undef stat
#define stat stat64
-#undef __stat
-#define __stat(file, buf) stat64(file, buf)
-#define COMPILE_GLOB64 1
+#define COMPILE_GLOB64 1
#include "glob.c"
-