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