diff options
Diffstat (limited to 'enstrndup.c')
-rw-r--r-- | enstrndup.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/enstrndup.c b/enstrndup.c index 23dd9fe..7dd6595 100644 --- a/enstrndup.c +++ b/enstrndup.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_enstrndup(int status, const char *s, size_t n) /* TODO test */ } return ret; } + + +#else +#include "test.h" + +int +main(void) +{ + return 0; +} + +#endif |