summaryrefslogtreecommitdiff
path: root/localedata/tst-xlocale1.c
diff options
context:
space:
mode:
Diffstat (limited to 'localedata/tst-xlocale1.c')
-rw-r--r--localedata/tst-xlocale1.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/localedata/tst-xlocale1.c b/localedata/tst-xlocale1.c
index 297c9ad7e1..9f545a02c3 100644
--- a/localedata/tst-xlocale1.c
+++ b/localedata/tst-xlocale1.c
@@ -20,8 +20,8 @@ static struct
#define ntests (sizeof (tests) / sizeof (tests[0]))
-int
-main (void)
+static int
+do_test (void)
{
size_t cnt;
int result = 0;
@@ -73,3 +73,6 @@ main (void)
return result;
}
+
+#define TEST_FUNCTION do_test ()
+#include "../test-skeleton.c"