diff options
author | Petr Vorel <pvorel@suse.cz> | 2019-10-09 11:31:03 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2019-10-09 11:31:03 +0200 |
commit | 112a630b086541d29c20e3bb024f4270dadd68c6 (patch) | |
tree | d61d6aaf4f7653fbfb400f8e7efb3714f536b3fc | |
parent | 6a7041a2345c8dbc0312251b5f536cca03c6a0a0 (diff) | |
download | glibc-112a630b086541d29c20e3bb024f4270dadd68c6.zip glibc-112a630b086541d29c20e3bb024f4270dadd68c6.tar.gz glibc-112a630b086541d29c20e3bb024f4270dadd68c6.tar.bz2 |
<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>")
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | include/dirent.h | 3 |
2 files changed, 5 insertions, 2 deletions
@@ -1,3 +1,7 @@ +2019-10-09 Petr Vorel <pvorel@suse.cz> + + * include/dirent.h (__getdents64): Update comment. + 2019-10-08 Gabriel F. T. Gomes <gabrielftg@linux.ibm.com> * Makefile: Fix locale dependency for a couple of tests. diff --git a/include/dirent.h b/include/dirent.h index 3736803..2b1cdcf 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); |