about summary refs log tree commit diff
path: root/stdio-common/tst-wc-printf.c
diff options
context:
space:
mode:
Diffstat (limited to 'stdio-common/tst-wc-printf.c')
-rw-r--r--stdio-common/tst-wc-printf.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/stdio-common/tst-wc-printf.c b/stdio-common/tst-wc-printf.c
index abbeeb5330..2a2acb5059 100644
--- a/stdio-common/tst-wc-printf.c
+++ b/stdio-common/tst-wc-printf.c
@@ -4,8 +4,8 @@
 #include <string.h>
 #include <wctype.h>
 
-int
-main (void)
+static int
+do_test (void)
 {
   wchar_t tmp[3];
   tmp[0] = '8';
@@ -20,3 +20,6 @@ main (void)
 
   return 0;
 }
+
+#define TEST_FUNCTION do_test ()
+#include "../test-skeleton.c"