summaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/bits/unistd_ext.h
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2019-07-29 21:02:46 +0200
committerFlorian Weimer <fweimer@redhat.com>2019-07-29 21:02:46 +0200
commitb8b3d5a14e9d6248f8d78958c497eea0a684c939 (patch)
tree1449ad0591d2c322ec32282700778486f78b681c /sysdeps/unix/sysv/linux/bits/unistd_ext.h
parent354e4c1adddb1da19c1043e3e5db61ee2148d912 (diff)
downloadglibc-b8b3d5a14e9d6248f8d78958c497eea0a684c939.tar.gz
Linux: Move getdents64 to <dirent.h>
This matches the location of the declaration in musl. Reviewed-by: Carlos O'Donell <carlos@redhat.com>
Diffstat (limited to 'sysdeps/unix/sysv/linux/bits/unistd_ext.h')
-rw-r--r--sysdeps/unix/sysv/linux/bits/unistd_ext.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/sysdeps/unix/sysv/linux/bits/unistd_ext.h b/sysdeps/unix/sysv/linux/bits/unistd_ext.h
index 6e7b2bb83d..0061172f23 100644
--- a/sysdeps/unix/sysv/linux/bits/unistd_ext.h
+++ b/sysdeps/unix/sysv/linux/bits/unistd_ext.h
@@ -22,12 +22,6 @@
#ifdef __USE_GNU
-/* Read from the directory descriptor FD into LENGTH bytes at BUFFER.
- Return the number of bytes read on success (0 for end of
- directory), and -1 for failure. */
-extern ssize_t getdents64 (int __fd, void *__buffer, size_t __length)
- __THROW __nonnull ((2));
-
/* Return the kernel thread ID (TID) of the current thread. The
returned value is not subject to caching. Most Linux system calls
accept a TID in place of a PID. Using the TID to change properties