about summary refs log tree commit diff
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 a936c2804d..9cc56d7dcb 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"