]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - malloc/tst-obstack.c
Modify several tests to use test-skeleton.c
[thirdparty/glibc.git] / malloc / tst-obstack.c
index 769697f185baa04e294124c2b0e652e5fc2e4083..ee1385d0f764e3689534237d843178ceaf6569c9 100644 (file)
@@ -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"