about summary refs log tree commit diff
path: root/src/env/__reset_tls.c
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2015-04-22 02:36:54 -0400
committerRich Felker <dalias@aerifal.cx>2015-04-22 02:36:54 -0400
commitc267fb849fdddfa236adf9c3b8b9cecc55ebb185 (patch)
treee0568daec38fcda05d478d5c53a545950a492276 /src/env/__reset_tls.c
parent9d836f444fbbf9e56155e5f2589d2bb8698c033c (diff)
downloadmusl-c267fb849fdddfa236adf9c3b8b9cecc55ebb185.tar.gz
musl-c267fb849fdddfa236adf9c3b8b9cecc55ebb185.tar.xz
musl-c267fb849fdddfa236adf9c3b8b9cecc55ebb185.zip
remove useless visibility application from static-linking-only code
part of the goal here is to eliminate use of the ATTR_LIBC_VISIBILITY
macro outside of libc.h, since it was never intended to be 'public'.
Diffstat (limited to 'src/env/__reset_tls.c')
-rw-r--r--src/env/__reset_tls.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/env/__reset_tls.c b/src/env/__reset_tls.c
index 28c4405e..bd61f311 100644
--- a/src/env/__reset_tls.c
+++ b/src/env/__reset_tls.c
@@ -2,12 +2,11 @@
 
 #include <string.h>
 #include "pthread_impl.h"
-#include "libc.h"
 
 extern struct tls_image {
 	void *image;
 	size_t len, size, align;
-} __static_tls ATTR_LIBC_VISIBILITY;
+} __static_tls;
 
 #define T __static_tls