diff options
Diffstat (limited to 'stdio-common/tst-sscanf.c')
-rw-r--r-- | stdio-common/tst-sscanf.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/stdio-common/tst-sscanf.c b/stdio-common/tst-sscanf.c index 8a2eb9e39c..9c61ab3b1b 100644 --- a/stdio-common/tst-sscanf.c +++ b/stdio-common/tst-sscanf.c @@ -124,8 +124,8 @@ struct test2 { L("0x.e+0"), L("%g%c"), 2, '+' }, }; -int -main (void) +static int +do_test (void) { double d[6]; long l[6]; @@ -268,3 +268,6 @@ main (void) return result; } + +#define TEST_FUNCTION do_test () +#include "../test-skeleton.c" |