Home | History | Annotate | Line # | Download | only in gen
      1  1.2  christos /*	$NetBSD: compat___glob13.c,v 1.2 2009/01/11 02:46:25 christos Exp $	*/
      2  1.1  christos 
      3  1.1  christos /*
      4  1.1  christos  * Written by Jason R. Thorpe <thorpej (at) NetBSD.org>, October 21, 1997.
      5  1.1  christos  * Public domain.
      6  1.1  christos  */
      7  1.1  christos #include "namespace.h"
      8  1.2  christos #include <pwd.h>
      9  1.1  christos #include <sys/stat.h>
     10  1.1  christos #include <dirent.h>
     11  1.1  christos #define __gl_size_t int
     12  1.1  christos 
     13  1.1  christos #define __LIBC12_SOURCE__
     14  1.1  christos __warn_references(__glob13,
     15  1.1  christos     "warning: reference to compatibility __glob13(); include <glob.h> for correct reference")
     16  1.1  christos __warn_references(__globfree13,
     17  1.1  christos     "warning: reference to compatibility __globfree13(); include <glob.h> for correct reference")
     18  1.1  christos 
     19  1.1  christos #undef glob
     20  1.1  christos #undef globfree
     21  1.1  christos #define glob __glob13
     22  1.1  christos #define globfree __globfree13
     23  1.1  christos 
     24  1.1  christos #include <glob.h>
     25  1.1  christos #include <compat/include/glob.h>
     26  1.1  christos 
     27  1.1  christos #include "gen/glob.c"
     28