Home | History | Annotate | Line # | Download | only in gen
compat___glob13.c revision 1.1
      1  1.1  christos /*	$NetBSD: compat___glob13.c,v 1.1 2006/03/26 18:11:22 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.1  christos #include <sys/stat.h>
      9  1.1  christos #include <dirent.h>
     10  1.1  christos #define __gl_size_t int
     11  1.1  christos 
     12  1.1  christos #define __LIBC12_SOURCE__
     13  1.1  christos __warn_references(__glob13,
     14  1.1  christos     "warning: reference to compatibility __glob13(); include <glob.h> for correct reference")
     15  1.1  christos __warn_references(__globfree13,
     16  1.1  christos     "warning: reference to compatibility __globfree13(); include <glob.h> for correct reference")
     17  1.1  christos 
     18  1.1  christos #undef glob
     19  1.1  christos #undef globfree
     20  1.1  christos #define glob __glob13
     21  1.1  christos #define globfree __globfree13
     22  1.1  christos 
     23  1.1  christos #include <glob.h>
     24  1.1  christos #include <compat/include/glob.h>
     25  1.1  christos 
     26  1.1  christos #include "gen/glob.c"
     27