remove additional libc struct accessor cruft
authorRich Felker <dalias@aerifal.cx>
Wed, 22 Apr 2015 06:39:01 +0000 (02:39 -0400)
committerRich Felker <dalias@aerifal.cx>
Wed, 22 Apr 2015 06:39:01 +0000 (02:39 -0400)
commit f9cccfc16e58b39ee381fbdfb8688db3bb8e3555 left behind the part
in libc.c; remove it too.

src/internal/libc.c

index 942f6b44843684631a6a906e8cfc06ebea09704e..2e10942df1b7fc3fa5745451fcf5732a45eadd89 100644 (file)
@@ -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;