Sync usage with man page.
[netbsd-mini2440.git] / lib / libc / compat / gen / compat___glob13.c
blob336746a8cb2a5587155705e258d5b0ac820f005f
1 /* $NetBSD: compat___glob13.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 #include <sys/stat.h>
10 #include <dirent.h>
11 #define __gl_size_t int
13 #define __LIBC12_SOURCE__
14 __warn_references(__glob13,
15 "warning: reference to compatibility __glob13(); include <glob.h> for correct reference")
16 __warn_references(__globfree13,
17 "warning: reference to compatibility __globfree13(); include <glob.h> for correct reference")
19 #undef glob
20 #undef globfree
21 #define glob __glob13
22 #define globfree __globfree13
24 #include <glob.h>
25 #include <compat/include/glob.h>
27 #include "gen/glob.c"