summaryrefslogtreecommitdiff
path: root/include/netdb.h
diff options
context:
space:
mode:
authorAustin Foxley <austinf@cetoncorp.com>2010-07-06 08:30:00 -0700
committerAustin Foxley <austinf@cetoncorp.com>2010-07-06 08:30:00 -0700
commita8f396655b8cca3518ac20d07246d91eb138ce07 (patch)
tree99b7e8ff51493665220bbf1336752b7a1ffa855e /include/netdb.h
parent0d6ee549bc86fd330672a79d9a87d2c3825eea67 (diff)
Revert "don't make __errno_location / __h_errno_location hidden"
This reverts commit 0d6ee549bc86fd330672a79d9a87d2c3825eea67. We need to find a solution that will work in shared and static libraries Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
Diffstat (limited to 'include/netdb.h')
-rw-r--r--include/netdb.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/netdb.h b/include/netdb.h
index ac411ab93..9d3807d3a 100644
--- a/include/netdb.h
+++ b/include/netdb.h
@@ -59,6 +59,7 @@ __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