aboutsummaryrefslogtreecommitdiffstats
path: root/strchrnul.c
diff options
context:
space:
mode:
Diffstat (limited to 'strchrnul.c')
-rw-r--r--strchrnul.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/strchrnul.c b/strchrnul.c
index 893ff34..2dccb7a 100644
--- a/strchrnul.c
+++ b/strchrnul.c
@@ -1,5 +1,6 @@
/* See LICENSE file for copyright and license details. */
#include "libsimple.h"
+#ifndef TEST
char *
@@ -11,8 +12,8 @@ libsimple_strchrnul(const char *s_, int c)
}
-#ifdef TEST
-#include <assert.h>
+#else
+#include "test.h"
int
main(void)