hppa: fix loading of global pointer in _start [BZ #20277]
[glibc.git] / sysdeps / nacl / readdir.c
bloba73bfe42a55621087334583614496a78d0dc92dd
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)