diff options
Diffstat (limited to 'stdio-common/tst-gets.c')
-rw-r--r-- | stdio-common/tst-gets.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/stdio-common/tst-gets.c b/stdio-common/tst-gets.c index 7f78fc1283..052f1f926a 100644 --- a/stdio-common/tst-gets.c +++ b/stdio-common/tst-gets.c @@ -21,8 +21,8 @@ #include <string.h> -int -main (void) +static int +do_test (void) { char buf[100]; int result = 0; @@ -61,3 +61,6 @@ main (void) return result; } + +#define TEST_FUNCTION do_test () +#include "../test-skeleton.c" |