summaryrefslogtreecommitdiff
path: root/elf/tst-tls11.c
diff options
context:
space:
mode:
Diffstat (limited to 'elf/tst-tls11.c')
-rw-r--r--elf/tst-tls11.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/elf/tst-tls11.c b/elf/tst-tls11.c
index 8a2fef4a7f..8ceac14168 100644
--- a/elf/tst-tls11.c
+++ b/elf/tst-tls11.c
@@ -5,8 +5,8 @@
if (p->a != S || p->b != S + 1 || p->c != S + 2) \
abort ()
-int
-main (void)
+static int
+do_test (void)
{
struct A *p;
check1 ();
@@ -24,3 +24,6 @@ main (void)
exit (0);
}
+
+#define TEST_FUNCTION do_test ()
+#include "../test-skeleton.c"