diff options
Diffstat (limited to 'libio/test-fmemopen.c')
-rw-r--r-- | libio/test-fmemopen.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/libio/test-fmemopen.c b/libio/test-fmemopen.c index 3099894..211176e 100644 --- a/libio/test-fmemopen.c +++ b/libio/test-fmemopen.c @@ -22,8 +22,8 @@ static char buffer[] = "foobar"; #include <stdio.h> #include <string.h> -int -main (void) +static int +do_test (void) { int ch; FILE *stream; @@ -37,3 +37,6 @@ main (void) return 0; } + +#define TEST_FUNCTION do_test () +#include "../test-skeleton.c" |