remove spurious declaration of __getdents from readdir.c
authorRich Felker <dalias@aerifal.cx>
Wed, 18 Jul 2018 17:35:35 +0000 (13:35 -0400)
committerRich Felker <dalias@aerifal.cx>
Wed, 18 Jul 2018 17:35:35 +0000 (13:35 -0400)
src/dirent/readdir.c

index dc5f3edbd8c43aea9034a33c7d94aebc449cddef..eef92f797abc4b005411e000d452432c0faf0903 100644 (file)
@@ -8,8 +8,6 @@
 typedef char dirstream_buf_alignment_check[1-2*(int)(
        offsetof(struct __dirstream, buf) % sizeof(off_t))];
 
-int __getdents(int, struct dirent *, size_t);
-
 struct dirent *readdir(DIR *dir)
 {
        struct dirent *de;