From 920746cbb5d18d8aef284d3fe71a57cd52509117 Mon Sep 17 00:00:00 2001 From: Jakob Kaivo Date: Tue, 14 Nov 2023 12:12:10 -0500 Subject: disable all functions; will strategically reenable them as tested --- src/ftw/__ftw.c | 5 +++++ src/ftw/ftw.c | 5 +++++ src/ftw/nftw.c | 5 +++++ 3 files changed, 15 insertions(+) (limited to 'src/ftw') diff --git a/src/ftw/__ftw.c b/src/ftw/__ftw.c index 2acee0cb..0f9b2f79 100644 --- a/src/ftw/__ftw.c +++ b/src/ftw/__ftw.c @@ -1,3 +1,5 @@ +#if 0 + #include "_ftw.h" int __ftw(const char *path, int (*fn)(), int fd_limit, int flags) @@ -10,3 +12,6 @@ int __ftw(const char *path, int (*fn)(), int fd_limit, int flags) return ret; } + + +#endif diff --git a/src/ftw/ftw.c b/src/ftw/ftw.c index f500615e..7e3bff57 100644 --- a/src/ftw/ftw.c +++ b/src/ftw/ftw.c @@ -1,3 +1,5 @@ +#if 0 + #include #include #include "_ftw.h" @@ -10,3 +12,6 @@ int ftw(const char * path, int (*fn) (const char *, const struct stat * ptr, int /* XOPEN(4) */ + + +#endif diff --git a/src/ftw/nftw.c b/src/ftw/nftw.c index 7dd80dd6..463d9fe5 100644 --- a/src/ftw/nftw.c +++ b/src/ftw/nftw.c @@ -1,3 +1,5 @@ +#if 0 + #include int nftw(const char * path, int (*fn) (const char *, const struct stat *, int, struct FTW *), int fd_limit, int flags) @@ -8,3 +10,6 @@ int nftw(const char * path, int (*fn) (const char *, const struct stat *, int, s /* XOPEN(400) */ + + +#endif -- cgit v1.2.1