summaryrefslogtreecommitdiff
path: root/malloc/tst-obstack.c
diff options
context:
space:
mode:
Diffstat (limited to 'malloc/tst-obstack.c')
-rw-r--r--malloc/tst-obstack.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/malloc/tst-obstack.c b/malloc/tst-obstack.c
index 769697f185..ee1385d0f7 100644
--- a/malloc/tst-obstack.c
+++ b/malloc/tst-obstack.c
@@ -25,8 +25,8 @@ verbose_free (void *buf)
printf ("free (%p)\n", buf);
}
-int
-main (void)
+static int
+do_test (void)
{
int result = 0;
int align = 2;
@@ -62,3 +62,6 @@ main (void)
return result;
}
+
+#define TEST_FUNCTION do_test ()
+#include "../test-skeleton.c"