blob: a73bfe42a55621087334583614496a78d0dc92dd [file] [log] [blame]
lh9ed821d2023-04-07 01:36:19 -07001/* 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
10strong_alias (__readdir, __readdir64)
11weak_alias (__readdir64, readdir64)