Fix mdoc(7)/man(7) mix up.
[netbsd-mini2440.git] / lib / libc / compat / gen / compat_glob.c
blobe956c2285355f67ac3d59b10eeb3f47eb7e3a9fb
1 /* $NetBSD: compat_glob.c,v 1.1.28.1 2008/11/08 21:45:37 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"