diff options
Diffstat (limited to 'wcsmbs/tst-btowc.c')
-rw-r--r-- | wcsmbs/tst-btowc.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/wcsmbs/tst-btowc.c b/wcsmbs/tst-btowc.c index d793622771..dc34f2b907 100644 --- a/wcsmbs/tst-btowc.c +++ b/wcsmbs/tst-btowc.c @@ -74,8 +74,8 @@ eof_test (void) /* Test the btowc() function for a few locales with known character sets. */ -int -main (void) +static int +do_test (void) { int result = 0; @@ -172,3 +172,6 @@ main (void) return result; } + +#define TEST_FUNCTION do_test () +#include "../test-skeleton.c" |