about summary refs log tree commit diff
path: root/string/tst-endian.c
diff options
context:
space:
mode:
Diffstat (limited to 'string/tst-endian.c')
-rw-r--r--string/tst-endian.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/string/tst-endian.c b/string/tst-endian.c
index d3c7c2c4c5..b156ede199 100644
--- a/string/tst-endian.c
+++ b/string/tst-endian.c
@@ -18,7 +18,7 @@
 # define DIAG_IGNORE_NEEDS_COMMENT_TAUTOLOGICAL_COMPARE()
 #endif
 
-static int
+int
 do_test (void)
 {
   int result = 0;
@@ -131,5 +131,4 @@ do_test (void)
   return result;
 }
 
-#define TEST_FUNCTION do_test ()
-#include "../test-skeleton.c"
+#include <support/test-driver.c>