summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2015-04-22 02:39:01 -0400
committerRich Felker <dalias@aerifal.cx>2015-04-22 02:39:01 -0400
commit3e827b7e68eda9813055a544d240c20d025c77c9 (patch)
tree81fa105bb98b4734217e94c61440310bb7f73b08 /src
parentc267fb849fdddfa236adf9c3b8b9cecc55ebb185 (diff)
downloadmusl-3e827b7e68eda9813055a544d240c20d025c77c9.tar.gz
remove additional libc struct accessor cruft
commit f9cccfc16e58b39ee381fbdfb8688db3bb8e3555 left behind the part in libc.c; remove it too.
Diffstat (limited to 'src')
-rw-r--r--src/internal/libc.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/internal/libc.c b/src/internal/libc.c
index 942f6b44..2e10942d 100644
--- a/src/internal/libc.c
+++ b/src/internal/libc.c
@@ -1,18 +1,6 @@
#include "libc.h"
-#ifdef USE_LIBC_ACCESSOR
-struct __libc *__libc_loc()
-{
- static struct __libc __libc;
- return &__libc;
-}
-#else
struct __libc __libc;
-#endif
-
-#ifdef BROKEN_VISIBILITY
-__asm__(".hidden __libc");
-#endif
size_t __hwcap;
size_t __sysinfo;