<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>")
This commit is contained in:
Petr Vorel 2019-10-09 11:31:03 +02:00 committed by Florian Weimer
parent 6a7041a234
commit 112a630b08
2 changed files with 5 additions and 2 deletions

View File

@ -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.

View 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);