about summary refs log tree commit diff
path: root/string/tst-cmp.c
diff options
context:
space:
mode:
Diffstat (limited to 'string/tst-cmp.c')
-rw-r--r--string/tst-cmp.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/string/tst-cmp.c b/string/tst-cmp.c
index ae63228318..d7720194e9 100644
--- a/string/tst-cmp.c
+++ b/string/tst-cmp.c
@@ -107,7 +107,7 @@ strncasecmp_max (const char *left, const char *right)
   return strncasecmp (left, right, SIZE_MAX);
 }
 
-static int
+int
 do_test (void)
 {
   enum {
@@ -209,5 +209,4 @@ do_test (void)
    machines.  */
 #define TIMEOUT 300
 
-#define TEST_FUNCTION do_test ()
-#include "../test-skeleton.c"
+#include <support/test-driver.c>