aboutsummaryrefslogtreecommitdiff
path: root/include/dirent.h
diff options
context:
space:
mode:
authorPetr Vorel <pvorel@suse.cz>2019-10-09 11:31:03 +0200
committerFlorian Weimer <fweimer@redhat.com>2019-10-09 11:31:03 +0200
commit112a630b086541d29c20e3bb024f4270dadd68c6 (patch)
treed61d6aaf4f7653fbfb400f8e7efb3714f536b3fc /include/dirent.h
parent6a7041a2345c8dbc0312251b5f536cca03c6a0a0 (diff)
downloadglibc-112a630b086541d29c20e3bb024f4270dadd68c6.tar
glibc-112a630b086541d29c20e3bb024f4270dadd68c6.tar.gz
glibc-112a630b086541d29c20e3bb024f4270dadd68c6.tar.bz2
glibc-112a630b086541d29c20e3bb024f4270dadd68c6.zip
<dirent.h>: Remove wrong comment about getdents64 declaration
Originally the public interface for getdents64 was declared in <unistd.h> in 51ea67d548. Later, b8b3d5a14e moved it to <dirent.h>. Fixes: b8b3d5a14e ("Linux: Move getdents64 to <dirent.h>")
Diffstat (limited to 'include/dirent.h')
-rw-r--r--include/dirent.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/dirent.h b/include/dirent.h
index 3736803bce..2b1cdcf8bd 100644
--- a/include/dirent.h
+++ b/include/dirent.h
@@ -36,8 +36,7 @@ extern __ssize_t __getdirentries (int __fd, char *__restrict __buf,
__off_t *__restrict __basep)
__THROW __nonnull ((2, 4));
-/* These functions are only implemented on Linux. The public
- interface for getdents64 is declared in <unistd.h>. */
+/* These functions are only implemented on Linux. */
extern __ssize_t __getdents (int __fd, void *__buf, size_t __nbytes)
attribute_hidden;
extern __ssize_t __getdents64 (int __fd, void *__buf, size_t __nbytes);