diff options
Diffstat (limited to 'stdio-common/test-fseek.c')
-rw-r--r-- | stdio-common/test-fseek.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/stdio-common/test-fseek.c b/stdio-common/test-fseek.c index fe57df6..8a7f1ae 100644 --- a/stdio-common/test-fseek.c +++ b/stdio-common/test-fseek.c @@ -19,8 +19,8 @@ #define TESTFILE "/tmp/test.dat" -int -main (void) +static int +do_test (void) { FILE *fp; int i, j; @@ -82,3 +82,6 @@ main (void) puts ((i > 255) ? "Test succeeded." : "Test FAILED!"); return (i > 255) ? 0 : 1; } + +#define TEST_FUNCTION do_test () +#include "../test-skeleton.c" |