VM: simplify slab allocator
[minix.git] / lib / libc / compat / gen / compat_readdir.c
blob08632979e172fe2c6932fc9f6893a82dff59b985
1 /* $NetBSD: compat_readdir.c,v 1.1 2005/09/13 01:44:09 christos Exp $ */
3 #define __LIBC12_SOURCE__
4 #include "namespace.h"
5 #include <dirent.h>
6 #include <compat/include/dirent.h>
8 #ifdef __weak_alias
9 __weak_alias(readdir,_readdir)
10 __weak_alias(readdir_r,_readdir_r)
11 #endif
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")
18 #endif
20 #define dirent dirent12
22 #include "gen/readdir.c"