summaryrefslogtreecommitdiff
path: root/src/dirent
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2018-09-11 14:09:20 -0400
committerRich Felker <dalias@aerifal.cx>2018-09-12 14:34:35 -0400
commitebb6afde680fc420f85a124d548831d59650b611 (patch)
tree9d833286d6d349bbcba2e34715ee0a8c0d24d465 /src/dirent
parent3fe595de83e398dbc3cdbe303cacaf8485c9ae08 (diff)
downloadmusl-ebb6afde680fc420f85a124d548831d59650b611.tar.gz
remove unused __getdents, rename and move file
the __-prefixed filename does not make sense when the only purpose of this file is implementing a public function that's not used as a backend for implementing the standard dirent functions.
Diffstat (limited to 'src/dirent')
-rw-r--r--src/dirent/__getdents.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/dirent/__getdents.c b/src/dirent/__getdents.c
deleted file mode 100644
index 1acd5a69..00000000
--- a/src/dirent/__getdents.c
+++ /dev/null
@@ -1,12 +0,0 @@
-#include <dirent.h>
-#include "syscall.h"
-#include "libc.h"
-
-int __getdents(int fd, struct dirent *buf, size_t len)
-{
- return syscall(SYS_getdents, fd, buf, len);
-}
-
-weak_alias(__getdents, getdents);
-
-LFS64(getdents);