about summary refs log tree commit diff
path: root/string/tst-bswap.c
diff options
context:
space:
mode:
Diffstat (limited to 'string/tst-bswap.c')
-rw-r--r--string/tst-bswap.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/string/tst-bswap.c b/string/tst-bswap.c
index cca704c0d2..6c1c911ec8 100644
--- a/string/tst-bswap.c
+++ b/string/tst-bswap.c
@@ -21,8 +21,8 @@
 
 extern unsigned long long int wash (unsigned long long int a);
 
-int
-main (void)
+static int
+do_test (void)
 {
   int result = 0;
 
@@ -71,3 +71,6 @@ wash (unsigned long long int a)
      regards the argument to the bswap_*() functions as constant.  */
   return a + 0;
 }
+
+#define TEST_FUNCTION do_test ()
+#include "../test-skeleton.c"