summaryrefslogtreecommitdiff
path: root/localedata/tst-mbswcs5.c
diff options
context:
space:
mode:
Diffstat (limited to 'localedata/tst-mbswcs5.c')
-rw-r--r--localedata/tst-mbswcs5.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/localedata/tst-mbswcs5.c b/localedata/tst-mbswcs5.c
index e18862c1d0..c44f12a49d 100644
--- a/localedata/tst-mbswcs5.c
+++ b/localedata/tst-mbswcs5.c
@@ -37,8 +37,8 @@
putc ('\n', stdout); \
}
-int
-main (void)
+static int
+do_test (void)
{
unsigned char buf[7] = { 0xff, 0xff, 0xff, 0xff, 0xff, 0xff };
const unsigned char bufcheck[7] = { 0x25, 0xe2, 0x82, 0xac, 0xce, 0xbb, 0 };
@@ -72,3 +72,6 @@ main (void)
return result;
}
+
+#define TEST_FUNCTION do_test ()
+#include "../test-skeleton.c"