diff options
Diffstat (limited to 'localedata/tst-mbswcs2.c')
-rw-r--r-- | localedata/tst-mbswcs2.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/localedata/tst-mbswcs2.c b/localedata/tst-mbswcs2.c index 25fa9516a0..9cd95d6808 100644 --- a/localedata/tst-mbswcs2.c +++ b/localedata/tst-mbswcs2.c @@ -35,8 +35,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; @@ -62,3 +62,6 @@ main (void) return result; } + +#define TEST_FUNCTION do_test () +#include "../test-skeleton.c" |