about summary refs log tree commit diff
path: root/string/bug-strtok1.c
diff options
context:
space:
mode:
Diffstat (limited to 'string/bug-strtok1.c')
-rw-r--r--string/bug-strtok1.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/string/bug-strtok1.c b/string/bug-strtok1.c
index da30acf2e6..a47b2f3531 100644
--- a/string/bug-strtok1.c
+++ b/string/bug-strtok1.c
@@ -2,7 +2,7 @@
 #include <string.h>
 #include <stdio.h>
 
-static int
+int
 do_test (void)
 {
   const char str[] = "axaaba";
@@ -41,5 +41,4 @@ do_test (void)
   return result;
 }
 
-#define TEST_FUNCTION do_test ()
-#include "../test-skeleton.c"
+#include <support/test-driver.c>