VM: simplify slab allocator
[minix.git] / lib / libc / compat / gen / compat_glob.c
blob222b4a42d5d23e28ba55d1a8ade94ae0b24c6543
1 /* $NetBSD: compat_glob.c,v 1.2 2009/01/11 02:46:25 christos Exp $ */
3 /*
4 * Written by Jason R. Thorpe <thorpej@NetBSD.org>, October 21, 1997.
5 * Public domain.
6 */
7 #include "namespace.h"
8 #include <pwd.h>
9 #define __LIBC12_SOURCE__
11 #include <sys/stat.h>
12 #include <compat/sys/time.h>
13 #include <compat/sys/stat.h>
14 #include <dirent.h>
15 #include <compat/include/dirent.h>
16 #define __gl_stat_t struct stat12
18 #include <glob.h>
19 #include <compat/include/glob.h>
21 #ifdef __weak_alias
22 __weak_alias(glob,_glob)
23 __weak_alias(globfree,_globfree)
24 #endif /* __weak_alias */
26 __warn_references(glob,
27 "warning: reference to compatibility glob(); include <glob.h> for correct reference")
28 __warn_references(globfree,
29 "warning: reference to compatibility globfree(); include <glob.h> for correct reference")
31 #include "gen/glob.c"