4 * Written by Jason R. Thorpe <thorpej@NetBSD.org>, October 21, 1997.
12 #define __LIBC12_SOURCE__
14 #include <compat/sys/time.h>
15 #include <compat/sys/stat.h>
17 #define __fts_stat_t struct stat12
18 #define __fts_nlink_t u_int16_t
19 #define __fts_ino_t u_int32_t
20 #define __fts_length_t unsigned short
21 #define __fts_number_t long
22 #define __fts_dev_t uint32_t
23 #define __fts_level_t short
26 #include <compat/include/fts.h>
29 __weak_alias(fts_children
,_fts_children
)
30 __weak_alias(fts_close
,_fts_close
)
31 __weak_alias(fts_open
,_fts_open
)
32 __weak_alias(fts_read
,_fts_read
)
33 __weak_alias(fts_set
,_fts_set
)
34 #endif /* __weak_alias */
36 __warn_references(fts_children
,
37 "warning: reference to compatibility fts_children();"
38 " include <fts.h> for correct reference")
39 __warn_references(fts_close
,
40 "warning: reference to compatibility fts_close();"
41 " include <fts.h> for correct reference")
42 __warn_references(fts_open
,
43 "warning: reference to compatibility fts_open();"
44 " include <fts.h> for correct reference")
45 __warn_references(fts_read
,
46 "warning: reference to compatibility fts_read();"
47 " include <fts.h> for correct reference")
48 __warn_references(fts_set
,
49 "warning: reference to compatibility fts_set();"
50 " include <fts.h> for correct reference")
52 #define __FTS_COMPAT_TAILINGSLASH
53 #define __FTS_COMPAT_LENGTH
54 #define __FTS_COMPAT_LEVEL