aboutsummaryrefslogtreecommitdiffstats
path: root/envputenvf.c
diff options
context:
space:
mode:
Diffstat (limited to 'envputenvf.c')
-rw-r--r--envputenvf.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/envputenvf.c b/envputenvf.c
index 583859f..cf30208 100644
--- a/envputenvf.c
+++ b/envputenvf.c
@@ -1,5 +1,6 @@
/* See LICENSE file for copyright and license details. */
#include "libsimple.h"
+#ifndef TEST
extern char *argv0;
@@ -13,3 +14,15 @@ libsimple_envputenvf(int status, const char *fmt, va_list ap) /* TODO test */
exit(status);
}
}
+
+
+#else
+#include "test.h"
+
+int
+main(void)
+{
+ return 0;
+}
+
+#endif