about summary refs log tree commit diff
path: root/elf/tst-leaks1.c
diff options
context:
space:
mode:
Diffstat (limited to 'elf/tst-leaks1.c')
-rw-r--r--elf/tst-leaks1.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/elf/tst-leaks1.c b/elf/tst-leaks1.c
index 36e4aee9cf..dcff28dafa 100644
--- a/elf/tst-leaks1.c
+++ b/elf/tst-leaks1.c
@@ -3,8 +3,8 @@
 #include <mcheck.h>
 #include <stdlib.h>
 
-int
-main (void)
+static int
+do_test (void)
 {
   mtrace ();
 
@@ -23,3 +23,6 @@ main (void)
 
   return ret;
 }
+
+#define TEST_FUNCTION do_test ()
+#include "../test-skeleton.c"