about summary refs log tree commit diff
path: root/elf/tst-tls12.c
diff options
context:
space:
mode:
Diffstat (limited to 'elf/tst-tls12.c')
-rw-r--r--elf/tst-tls12.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/elf/tst-tls12.c b/elf/tst-tls12.c
index 9086d17176..8093894b93 100644
--- a/elf/tst-tls12.c
+++ b/elf/tst-tls12.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 ();
@@ -15,3 +15,6 @@ main (void)
 
   exit (0);
 }
+
+#define TEST_FUNCTION do_test ()
+#include "../test-skeleton.c"