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.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/string/tst-strtok.c b/string/tst-strtok.c
index 7e34aeefaa..6fbef9f33e 100644
--- a/string/tst-strtok.c
+++ b/string/tst-strtok.c
@@ -2,8 +2,8 @@
#include <stdio.h>
#include <string.h>
-int
-main (void)
+static int
+do_test (void)
{
char buf[1] = { 0 };
int result = 0;
@@ -21,3 +21,6 @@ main (void)
return result;
}
+
+#define TEST_FUNCTION do_test ()
+#include "../test-skeleton.c"