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