aboutsummaryrefslogtreecommitdiff
path: root/src/misc/nftw.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/misc/nftw.c')
-rw-r--r--src/misc/nftw.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/misc/nftw.c b/src/misc/nftw.c
index 71bc62ee..065d00a5 100644
--- a/src/misc/nftw.c
+++ b/src/misc/nftw.c
@@ -140,3 +140,11 @@ int nftw(const char *path, int (*fn)(const char *, const struct stat *, int, str
pthread_setcancelstate(cs, 0);
return r;
}
+
+
+#ifdef TEST
+int
+main(void) {
+ return 0;
+}
+#endif