From c267fb849fdddfa236adf9c3b8b9cecc55ebb185 Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Wed, 22 Apr 2015 02:36:54 -0400 Subject: 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'. --- src/env/__reset_tls.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/env/__reset_tls.c') 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 #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 -- cgit v1.2.1