summaryrefslogtreecommitdiff
path: root/src/env
diff options
context:
space:
mode:
Diffstat (limited to 'src/env')
-rw-r--r--src/env/__init_tls.c2
-rw-r--r--src/env/__reset_tls.c3
2 files changed, 2 insertions, 3 deletions
diff --git a/src/env/__init_tls.c b/src/env/__init_tls.c
index 67f14094..b5bd80d1 100644
--- a/src/env/__init_tls.c
+++ b/src/env/__init_tls.c
@@ -33,7 +33,7 @@ static struct builtin_tls {
struct tls_image {
void *image;
size_t len, size, align;
-} __static_tls ATTR_LIBC_VISIBILITY;
+} __static_tls;
#define T __static_tls
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