lh | 9ed821d | 2023-04-07 01:36:19 -0700 | [diff] [blame] | 1 | /* The compiler complains about aliases with nonmatching type signatures. |
| 2 | The types 'struct dirent' and 'struct dirent64' are actually identical |
| 3 | even though the compiler doesn't consider them to be. So we hide the |
| 4 | declaration from the compiler. */ |
| 5 | #define __readdir64 __avoid___readdir64_declaration |
| 6 | #define readdir64 __avoid_readdir64_declaration |
| 7 | #include <sysdeps/posix/readdir.c> |
| 8 | #undef __readdir64 |
| 9 | #undef readdir64 |
| 10 | strong_alias (__readdir, __readdir64) |
| 11 | weak_alias (__readdir64, readdir64) |