about summary refs log tree commit diff
path: root/localedata/tst-langinfo.c
diff options
context:
space:
mode:
Diffstat (limited to 'localedata/tst-langinfo.c')
-rw-r--r--localedata/tst-langinfo.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/localedata/tst-langinfo.c b/localedata/tst-langinfo.c
index f42ac8b864..49807f454f 100644
--- a/localedata/tst-langinfo.c
+++ b/localedata/tst-langinfo.c
@@ -138,8 +138,8 @@ map_paramstr (const char *str)
 # define REASON(str)
 #endif
 
-int
-main (void)
+static int
+do_test (void)
 {
   int result = 0;
 
@@ -281,3 +281,6 @@ main (void)
 
   return result;
 }
+
+#define TEST_FUNCTION do_test ()
+#include "../test-skeleton.c"