diff options
Diffstat (limited to 'localedata/tst-mbswcs4.c')
-rw-r--r-- | localedata/tst-mbswcs4.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/localedata/tst-mbswcs4.c b/localedata/tst-mbswcs4.c index 09b7417..a4fe60d 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" |