diff options
Diffstat (limited to 'stdlib/tst-strtoll.c')
-rw-r--r-- | stdlib/tst-strtoll.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/stdlib/tst-strtoll.c b/stdlib/tst-strtoll.c index 0c77254..93f1a56 100644 --- a/stdlib/tst-strtoll.c +++ b/stdlib/tst-strtoll.c @@ -309,8 +309,8 @@ static const struct ltest tests[] = /* Prototypes for local functions. */ static void expand (char *dst, int c); -int -main (void) +static int +do_test (void) { const struct ltest *lt; char *ep; @@ -398,3 +398,6 @@ expand (dst, c) else (void) sprintf (dst, "%#.3o", (unsigned int) c); } + +#define TEST_FUNCTION do_test () +#include "../test-skeleton.c" |