]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - elf/tst-tlsmod16b.c
Fix bad pointer / leak in regex code
[thirdparty/glibc.git] / elf / tst-tlsmod16b.c
index 308e6bae92b98b9c4666150c78866339c46d3916..1ecba26dbedcb23e087cd637934e9e1aadff6760 100644 (file)
@@ -1,10 +1,4 @@
-#include <tls.h>
-
-#if defined HAVE___THREAD && defined HAVE_TLS_MODEL_ATTRIBUTE
 extern __thread int tlsvar __attribute__((tls_model("initial-exec")));
-#else
-extern int tlsvar;
-#endif
 
 void *
 in_dso (void)