]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
<dirent.h>: Remove wrong comment about getdents64 declaration
authorPetr Vorel <pvorel@suse.cz>
Wed, 9 Oct 2019 09:31:03 +0000 (11:31 +0200)
committerFlorian Weimer <fweimer@redhat.com>
Wed, 9 Oct 2019 09:31:03 +0000 (11:31 +0200)
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>")
ChangeLog
include/dirent.h

index 5732696ca70fa8198329d8688b42563704bdb114..bf76ac7d5970d1514c5f3aace4b1258b5964bdac 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
index 3736803bcef6a849d63b9842064a9e6fa0a033e0..2b1cdcf8bd4574f613f6e146e1d323088ec6a7af 100644 (file)
@@ -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);