aboutsummaryrefslogtreecommitdiffstats
path: root/envreallocn.c
diff options
context:
space:
mode:
Diffstat (limited to 'envreallocn.c')
-rw-r--r--envreallocn.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/envreallocn.c b/envreallocn.c
index ec64d29..44b69e3 100644
--- a/envreallocn.c
+++ b/envreallocn.c
@@ -1,5 +1,6 @@
/* See LICENSE file for copyright and license details. */
#include "libsimple.h"
+#ifndef TEST
extern char *argv0;
@@ -15,3 +16,15 @@ libsimple_envreallocn(int status, void *ptr, size_t n, va_list ap) /* TODO test
}
return ret;
}
+
+
+#else
+#include "test.h"
+
+int
+main(void)
+{
+ return 0;
+}
+
+#endif