]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - elf/tst-tls12.c
powerpc: Fix build of wcscpy with --disable-multi-arch
[thirdparty/glibc.git] / elf / tst-tls12.c
index 84aa7d35cac4aeebf702e14366740e6b9890fedc..ccd5f8b43e444d7bf2ee478a167c4e077346f443 100644 (file)
@@ -5,14 +5,15 @@
   if (p->a != S || p->b != S + 1 || p->c != S + 2)     \
     abort ()
 
-int
-main (void)
+static int
+do_test (void)
 {
-#ifdef USE_TLS__THREAD
   struct A *p;
   check1 ();
   CHECK (1, 4);
   CHECK (2, 7);
-#endif
+
   exit (0);
 }
+
+#include <support/test-driver.c>