diff options
Diffstat (limited to 'libio/tst-ungetwc1.c')
-rw-r--r-- | libio/tst-ungetwc1.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/libio/tst-ungetwc1.c b/libio/tst-ungetwc1.c index f74c407..f71b390 100644 --- a/libio/tst-ungetwc1.c +++ b/libio/tst-ungetwc1.c @@ -7,8 +7,8 @@ #include <unistd.h> #include <wchar.h> -int -main (void) +static int +do_test (void) { FILE *fp; const char *str = "abcdef"; @@ -79,3 +79,6 @@ main (void) return result; } + +#define TEST_FUNCTION do_test () +#include "../test-skeleton.c" |