about summary refs log tree commit diff
path: root/localedata/tst-digits.c
diff options
context:
space:
mode:
Diffstat (limited to 'localedata/tst-digits.c')
-rw-r--r--localedata/tst-digits.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/localedata/tst-digits.c b/localedata/tst-digits.c
index 9b3ebcdaa1..76356e9d5c 100644
--- a/localedata/tst-digits.c
+++ b/localedata/tst-digits.c
@@ -111,8 +111,8 @@ static struct wprintf_int_test
   (sizeof (wprintf_int_tests) / sizeof (wprintf_int_tests[0]))
 
 
-int
-main (void)
+static int
+do_test (void)
 {
   int cnt;
   int failures;
@@ -246,3 +246,6 @@ main (void)
 
   return status;
 }
+
+#define TEST_FUNCTION do_test ()
+#include "../test-skeleton.c"