summaryrefslogtreecommitdiff
path: root/stdio-common/tst-obprintf.c
diff options
context:
space:
mode:
Diffstat (limited to 'stdio-common/tst-obprintf.c')
-rw-r--r--stdio-common/tst-obprintf.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/stdio-common/tst-obprintf.c b/stdio-common/tst-obprintf.c
index 39e8fdab6f..51515932ad 100644
--- a/stdio-common/tst-obprintf.c
+++ b/stdio-common/tst-obprintf.c
@@ -4,8 +4,8 @@
#include <stdlib.h>
-int
-main (void)
+static int
+do_test (void)
{
struct obstack ob;
int n;
@@ -40,3 +40,6 @@ main (void)
return 0;
}
+
+#define TEST_FUNCTION do_test ()
+#include "../test-skeleton.c"