diff options
Diffstat (limited to 'libio/tst-ungetwc2.c')
-rw-r--r-- | libio/tst-ungetwc2.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/libio/tst-ungetwc2.c b/libio/tst-ungetwc2.c index d15e287..a7c5193 100644 --- a/libio/tst-ungetwc2.c +++ b/libio/tst-ungetwc2.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" |