aboutsummaryrefslogtreecommitdiff
path: root/string/tst-strtok.c
diff options
context:
space:
mode:
Diffstat (limited to 'string/tst-strtok.c')
-rw-r--r--string/tst-strtok.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/string/tst-strtok.c b/string/tst-strtok.c
index 6fbef9f..628e106 100644
--- a/string/tst-strtok.c
+++ b/string/tst-strtok.c
@@ -2,7 +2,7 @@
#include <stdio.h>
#include <string.h>
-static int
+int
do_test (void)
{
char buf[1] = { 0 };
@@ -22,5 +22,4 @@ do_test (void)
return result;
}
-#define TEST_FUNCTION do_test ()
-#include "../test-skeleton.c"
+#include <support/test-driver.c>