diff options
Diffstat (limited to 'stdio-common/tst-sprintf2.c')
-rw-r--r-- | stdio-common/tst-sprintf2.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/stdio-common/tst-sprintf2.c b/stdio-common/tst-sprintf2.c index 422278dd6a..0ddf15ba33 100644 --- a/stdio-common/tst-sprintf2.c +++ b/stdio-common/tst-sprintf2.c @@ -3,8 +3,8 @@ #include <stdio.h> #include <string.h> -int -main (void) +static int +do_test (void) { #if LDBL_MANT_DIG >= 106 volatile union { long double l; long long x[2]; } u, v; @@ -82,3 +82,6 @@ main (void) #endif return result; } + +#define TEST_FUNCTION do_test () +#include "../test-skeleton.c" |