aboutsummaryrefslogtreecommitdiff
path: root/src/legacy/ftw.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/legacy/ftw.c')
-rw-r--r--src/legacy/ftw.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/legacy/ftw.c b/src/legacy/ftw.c
index e757fc6f..5e919236 100644
--- a/src/legacy/ftw.c
+++ b/src/legacy/ftw.c
@@ -7,3 +7,11 @@ int ftw(const char *path, int (*fn)(const char *, const struct stat *, int), int
* actually undefined, but works on all real-world machines. */
return nftw(path, (int (*)())fn, fd_limit, FTW_PHYS);
}
+
+
+#ifdef TEST
+int
+main(void) {
+ return 0;
+}
+#endif