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