]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - elf/tst-tls6.c
test-container: Fix "unused code" warnings on HURD
[thirdparty/glibc.git] / elf / tst-tls6.c
index 68d706538f4573d1d83408d7da3613a2d240ae74..df81c1f6b40f26f33cc7168cbe9c89e781a48407 100644 (file)
@@ -3,14 +3,11 @@
 #include <stdlib.h>
 
 #include <link.h>
-#include <tls.h>
 
 
-#define TEST_FUNCTION do_test ()
 static int
 do_test (void)
 {
-#ifdef USE_TLS
   static const char modname[] = "tst-tlsmod2.so";
   int result = 0;
   int *foop;
@@ -81,10 +78,7 @@ do_test (void)
     }
 
   return result;
-#else
-  return 0;
-#endif
 }
 
 
-#include "../test-skeleton.c"
+#include <support/test-driver.c>