summaryrefslogtreecommitdiff
path: root/sysdeps/nacl/readdir_r.c
blob: 3a9a71703e920edcf3ebf5ef28ab7c5cc48f0155 (plain)
1
2
3
4
5
6
7
8
/* The compiler complains about aliases with nonmatching type signatures.
   The types 'struct dirent' and 'struct dirent64' are actually identical
   even though the compiler doesn't consider them to be.  So we hide the
   declaration from the compiler.  */
#define readdir64_r     __avoid_readdir64_r_declaration
#include <sysdeps/posix/readdir_r.c>
#undef  readdir64_r
weak_alias (__readdir_r, readdir64_r)