diff options
Diffstat (limited to 'stdio-common/tst-cookie.c')
-rw-r--r-- | stdio-common/tst-cookie.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/stdio-common/tst-cookie.c b/stdio-common/tst-cookie.c index dcdabf3..030e684 100644 --- a/stdio-common/tst-cookie.c +++ b/stdio-common/tst-cookie.c @@ -63,8 +63,8 @@ cookieclose (void *cookie) } -int -main (void) +static int +do_test (void) { cookie_io_functions_t fcts; char buf[1]; @@ -90,3 +90,6 @@ main (void) return errors != 0; } + +#define TEST_FUNCTION do_test () +#include "../test-skeleton.c" |