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