1 /* $NetBSD: compat_readdir.c,v 1.1 2005/09/13 01:44:09 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"