projects
/
oweals
/
musl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c267fb8
)
remove additional libc struct accessor cruft
author
Rich Felker
<dalias@aerifal.cx>
Wed, 22 Apr 2015 06:39:01 +0000
(
02:39
-0400)
committer
Rich 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
patch
|
blob
|
history
diff --git
a/src/internal/libc.c
b/src/internal/libc.c
index 942f6b44843684631a6a906e8cfc06ebea09704e..2e10942df1b7fc3fa5745451fcf5732a45eadd89 100644
(file)
--- 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;