1 /* $NetBSD: opendir.c,v 1.27 2005/08/19 02:04:54 christos Exp $ */
7 #define __LIBC12_SOURCE__
9 #include <compat/include/dirent.h>
12 __weak_alias(opendir
,_opendir
)
15 #ifdef __warn_references
16 __warn_references(opendir
,
17 "warning: reference to compatibility opendir(); include <dirent.h> for correct reference")
18 __warn_references(__opendir2
,
19 "warning: reference to compatibility __opendir2(); include <dirent.h> for correct reference")
22 #define dirent dirent12
24 #include "gen/opendir.c"