NetBSD/lib/libc/compat/gen/compat___fts31.c

45 lines
1.2 KiB
C

/* $NetBSD: compat___fts31.c,v 1.1 2006/07/27 15:46:30 christos Exp $ */
#include "namespace.h"
#include <sys/cdefs.h>
#include <dirent.h>
__warn_references(__fts_children31,
"warning: reference to compatibility __fts_children31();"
" include <fts.h> for correct reference")
__warn_references(__fts_close31,
"warning: reference to compatibility __fts_close31();"
" include <fts.h> for correct reference")
__warn_references(__fts_open31,
"warning: reference to compatibility __fts_open31();"
" include <fts.h> for correct reference")
__warn_references(__fts_read31,
"warning: reference to compatibility __fts_read31();"
" include <fts.h> for correct reference")
__warn_references(__fts_set31,
"warning: reference to compatibility __fts_set31();"
" include <fts.h> for correct reference")
#include <sys/stat.h>
#define __fts_number_t long
#undef fts_children
#define fts_children __fts_children31
#undef fts_close
#define fts_close __fts_close31
#undef fts_open
#define fts_open __fts_open31
#undef fts_read
#define fts_read __fts_read31
#undef fts_set
#define fts_set __fts_set31
#define __LIBC12_SOURCE__
#include <fts.h>
#include <compat/include/fts.h>
#define __FTS_COMPAT_LENGTH
#include "gen/fts.c"