about summary refs log tree commit diff
path: root/localedata/tst-mbswcs1.c
diff options
context:
space:
mode:
Diffstat (limited to 'localedata/tst-mbswcs1.c')
-rw-r--r--localedata/tst-mbswcs1.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/localedata/tst-mbswcs1.c b/localedata/tst-mbswcs1.c
index 14f1372253..140482900f 100644
--- a/localedata/tst-mbswcs1.c
+++ b/localedata/tst-mbswcs1.c
@@ -33,8 +33,8 @@
     }									  \
   putc ('\n', stdout)
 
-int
-main (void)
+static int
+do_test (void)
 {
   const 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"