]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - elf/tst-tls5.c
Simplify tzfile fstat failure code
[thirdparty/glibc.git] / elf / tst-tls5.c
index a571d2cd3fa9685cad18c520e39f010e6914f9ec..5f006fd6459403fc957ab5d4c049d160b32a6975 100644 (file)
@@ -2,14 +2,10 @@
 #include <stdio.h>
 #include <stdlib.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;
@@ -63,10 +59,7 @@ do_test (void)
   dlclose (h);
 
   return result;
-#else
-  return 0;
-#endif
 }
 
 
-#include "../test-skeleton.c"
+#include <support/test-driver.c>