diff options
author | Peter Korsgaard <jacmet@sunsite.dk> | 2010-07-05 14:12:22 +0200 |
---|---|---|
committer | Austin Foxley <austinf@cetoncorp.com> | 2010-07-05 14:26:02 -0700 |
commit | 0d6ee549bc86fd330672a79d9a87d2c3825eea67 (patch) | |
tree | 8d81f634249bc8efadf378deaf9510bc84a7966b /include/netdb.h | |
parent | dfb389dea84f667bc890c5a188f38dc41b9ed9c6 (diff) |
don't make __errno_location / __h_errno_location hidden
Closes #2089 (https://bugs.busybox.net/show_bug.cgi?id=2089)
__errno_location / __h_errno_location access has to go through the PLT
like malloc/free, so the linuxthread variants gets used instead when
compiling with -pthread.
Based on http://github.com/mat-c/uClibc/commit/328d392c54aa5dc2b8e7f398a419087de497de2b
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
Diffstat (limited to 'include/netdb.h')
-rw-r--r-- | include/netdb.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/netdb.h b/include/netdb.h index 9d3807d3a..ac411ab93 100644 --- a/include/netdb.h +++ b/include/netdb.h @@ -59,7 +59,6 @@ __BEGIN_DECLS /* Function to get address of global `h_errno' variable. */ extern int *__h_errno_location (void) __THROW __attribute__ ((__const__)); -libc_hidden_proto(__h_errno_location) /* Macros for accessing h_errno from inside libc. */ #ifdef _LIBC |