aboutsummaryrefslogtreecommitdiff
path: root/src/stdio/tempnam.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/stdio/tempnam.c')
-rw-r--r--src/stdio/tempnam.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/stdio/tempnam.c b/src/stdio/tempnam.c
index 0c65b1f0..8bd1e60e 100644
--- a/src/stdio/tempnam.c
+++ b/src/stdio/tempnam.c
@@ -45,3 +45,11 @@ char *tempnam(const char *dir, const char *pfx)
}
return 0;
}
+
+
+#ifdef TEST
+int
+main(void) {
+ return 0;
+}
+#endif