1 /* $NetBSD: readdir.c,v 1.19 2005/08/19 02:04:54 christos Exp $ */
3 #define __LIBC12_SOURCE__
6 #include <compat/include/dirent.h>
9 __weak_alias(readdir
,_readdir
)
10 __weak_alias(readdir_r
,_readdir_r
)
13 #ifdef __warn_references
14 __warn_references(readdir
,
15 "warning: reference to compatibility readdir(); include <dirent.h> for correct reference")
16 __warn_references(readdir_r
,
17 "warning: reference to compatibility readdir_r(); include <dirent.h> for correct reference")
20 #define dirent dirent12
22 #include "gen/readdir.c"