diff options
-rw-r--r-- | src/linux/getdents.c (renamed from src/dirent/__getdents.c) | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/dirent/__getdents.c b/src/linux/getdents.c index 1acd5a69..90f7556e 100644 --- a/src/dirent/__getdents.c +++ b/src/linux/getdents.c @@ -1,12 +1,9 @@ #include <dirent.h> #include "syscall.h" -#include "libc.h" -int __getdents(int fd, struct dirent *buf, size_t len) +int getdents(int fd, struct dirent *buf, size_t len) { return syscall(SYS_getdents, fd, buf, len); } -weak_alias(__getdents, getdents); - LFS64(getdents); |