aboutsummaryrefslogtreecommitdiffstats
path: root/strtotimeval.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--strtotimeval.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/strtotimeval.c b/strtotimeval.c
index a0a18b9..6c30c88 100644
--- a/strtotimeval.c
+++ b/strtotimeval.c
@@ -1,5 +1,6 @@
/* See LICENSE file for copyright and license details. */
#include "libsimple.h"
+#ifndef TEST
int
@@ -13,3 +14,15 @@ libsimple_strtotimeval(struct timeval *restrict tv, const char *restrict s, char
errno = ERANGE;
return r;
}
+
+
+#else
+#include "test.h"
+
+int
+main(void)
+{
+ return 0;
+}
+
+#endif