aboutsummaryrefslogtreecommitdiff
path: root/stdio-common/test-vfprintf.c
diff options
context:
space:
mode:
Diffstat (limited to 'stdio-common/test-vfprintf.c')
-rw-r--r--stdio-common/test-vfprintf.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/stdio-common/test-vfprintf.c b/stdio-common/test-vfprintf.c
index a936c28..9cc56d7 100644
--- a/stdio-common/test-vfprintf.c
+++ b/stdio-common/test-vfprintf.c
@@ -36,8 +36,8 @@ const char *locs[] =
char large[50000];
-int
-main (void)
+static int
+do_test (void)
{
char buf[25];
size_t i;
@@ -124,3 +124,6 @@ main (void)
return res;
}
+
+#define TEST_FUNCTION do_test ()
+#include "../test-skeleton.c"