diff options
author | Rich Felker <dalias@aerifal.cx> | 2018-09-11 14:09:20 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2018-09-12 14:34:35 -0400 |
commit | ebb6afde680fc420f85a124d548831d59650b611 (patch) | |
tree | 9d833286d6d349bbcba2e34715ee0a8c0d24d465 /src/dirent | |
parent | 3fe595de83e398dbc3cdbe303cacaf8485c9ae08 (diff) | |
download | musl-ebb6afde680fc420f85a124d548831d59650b611.tar.gz musl-ebb6afde680fc420f85a124d548831d59650b611.tar.bz2 musl-ebb6afde680fc420f85a124d548831d59650b611.tar.xz musl-ebb6afde680fc420f85a124d548831d59650b611.zip |
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.c | 12 |
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); |