about summary refs log tree commit diff
path: root/string/tst-svc.c
diff options
context:
space:
mode:
Diffstat (limited to 'string/tst-svc.c')
-rw-r--r--string/tst-svc.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/string/tst-svc.c b/string/tst-svc.c
index 1b0da3efe5..d5cf2c19c9 100644
--- a/string/tst-svc.c
+++ b/string/tst-svc.c
@@ -13,7 +13,7 @@ compare (const void *p1, const void *p2)
   return strverscmp (*((char **) p1), *((char **) p2));
 }
 
-static int
+int
 do_test (void)
 {
   char line[MAX_LINE_SIZE + 1];
@@ -44,5 +44,4 @@ do_test (void)
   return EXIT_SUCCESS;
 }
 
-#define TEST_FUNCTION do_test ()
-#include "../test-skeleton.c"
+#include <support/test-driver.c>