about summary refs log tree commit diff
path: root/localedata/tst-mbswcs4.c
diff options
context:
space:
mode:
Diffstat (limited to 'localedata/tst-mbswcs4.c')
-rw-r--r--localedata/tst-mbswcs4.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/localedata/tst-mbswcs4.c b/localedata/tst-mbswcs4.c
index 09b74179fb..a4fe60dff8 100644
--- a/localedata/tst-mbswcs4.c
+++ b/localedata/tst-mbswcs4.c
@@ -34,8 +34,8 @@
     }									\
   putc ('\n', stdout)
 
-int
-main (void)
+static int
+do_test (void)
 {
   unsigned char buf[6] = { 0x25,  0xe2, 0x82, 0xac,  0xce, 0xbb };
   mbstate_t state;
@@ -60,3 +60,6 @@ main (void)
 
   return result;
 }
+
+#define TEST_FUNCTION do_test ()
+#include "../test-skeleton.c"