Home | History | Annotate | Line # | Download | only in gen
compat___fts50.c revision 1.2
      1  1.2  christos /*	$NetBSD: compat___fts50.c,v 1.2 2009/10/19 17:52:05 christos Exp $	*/
      2  1.1  christos 
      3  1.1  christos #include "namespace.h"
      4  1.1  christos #include <sys/cdefs.h>
      5  1.1  christos #include <dirent.h>
      6  1.1  christos #include <sys/stat.h>
      7  1.1  christos #include <sys/time.h>
      8  1.1  christos 
      9  1.1  christos #define __LIBC12_SOURCE__
     10  1.1  christos __warn_references(__fts_children50,
     11  1.1  christos     "warning: reference to compatibility __fts_children50();"
     12  1.1  christos     " include <fts.h> for correct reference")
     13  1.1  christos __warn_references(__fts_close50,
     14  1.1  christos     "warning: reference to compatibility __fts_close50();"
     15  1.1  christos     " include <fts.h> for correct reference")
     16  1.1  christos __warn_references(__fts_open50,
     17  1.1  christos     "warning: reference to compatibility __fts_open50();"
     18  1.1  christos     " include <fts.h> for correct reference")
     19  1.1  christos __warn_references(__fts_read50,
     20  1.1  christos     "warning: reference to compatibility __fts_read50();"
     21  1.1  christos     " include <fts.h> for correct reference")
     22  1.1  christos __warn_references(__fts_set50,
     23  1.1  christos     "warning: reference to compatibility __fts_set50();"
     24  1.1  christos     " include <fts.h> for correct reference")
     25  1.1  christos 
     26  1.1  christos #define	__fts_level_t	short
     27  1.2  christos #undef	fts_children
     28  1.2  christos #define	fts_children __fts_children50
     29  1.2  christos #undef	fts_close
     30  1.2  christos #define	fts_close __fts_close50
     31  1.2  christos #undef	fts_open
     32  1.2  christos #define	fts_open  __fts_open50
     33  1.2  christos #undef	fts_read
     34  1.2  christos #define	fts_read __fts_read50
     35  1.2  christos #undef	fts_set
     36  1.2  christos #define	fts_set __fts_set50
     37  1.1  christos 
     38  1.1  christos #include <fts.h>
     39  1.1  christos #include <compat/include/fts.h>
     40  1.1  christos 
     41  1.1  christos #define	__FTS_COMPAT_LEVEL
     42  1.1  christos 
     43  1.1  christos #include "gen/fts.c"
     44