add opendir alias
[minix.git] / lib / libc / compat / gen / compat___fts50.c
blobdbf913b36c9b5aeaa65f02e9d14ee3461ef9f8b4
1 /* $NetBSD: compat___fts50.c,v 1.2 2009/10/19 17:52:05 christos Exp $ */
3 #include "namespace.h"
4 #include <sys/cdefs.h>
5 #include <dirent.h>
6 #include <sys/stat.h>
7 #include <sys/time.h>
9 #define __LIBC12_SOURCE__
10 __warn_references(__fts_children50,
11 "warning: reference to compatibility __fts_children50();"
12 " include <fts.h> for correct reference")
13 __warn_references(__fts_close50,
14 "warning: reference to compatibility __fts_close50();"
15 " include <fts.h> for correct reference")
16 __warn_references(__fts_open50,
17 "warning: reference to compatibility __fts_open50();"
18 " include <fts.h> for correct reference")
19 __warn_references(__fts_read50,
20 "warning: reference to compatibility __fts_read50();"
21 " include <fts.h> for correct reference")
22 __warn_references(__fts_set50,
23 "warning: reference to compatibility __fts_set50();"
24 " include <fts.h> for correct reference")
26 #define __fts_level_t short
27 #undef fts_children
28 #define fts_children __fts_children50
29 #undef fts_close
30 #define fts_close __fts_close50
31 #undef fts_open
32 #define fts_open __fts_open50
33 #undef fts_read
34 #define fts_read __fts_read50
35 #undef fts_set
36 #define fts_set __fts_set50
38 #include <fts.h>
39 #include <compat/include/fts.h>
41 #define __FTS_COMPAT_LEVEL
43 #include "gen/fts.c"