about summary refs log tree commit diff
path: root/stdio-common/tst-unbputc.c
diff options
context:
space:
mode:
Diffstat (limited to 'stdio-common/tst-unbputc.c')
-rw-r--r--stdio-common/tst-unbputc.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/stdio-common/tst-unbputc.c b/stdio-common/tst-unbputc.c
index bbd8622b03..7200a82a2a 100644
--- a/stdio-common/tst-unbputc.c
+++ b/stdio-common/tst-unbputc.c
@@ -1,11 +1,14 @@
 #include <stdio.h>
 
 
-int
-main (void)
+static int
+do_test (void)
 {
   putc ('1', stderr);
   putc ('2', stderr);
 
   return 0;
 }
+
+#define TEST_FUNCTION do_test ()
+#include "../test-skeleton.c"