aboutsummaryrefslogtreecommitdiff
path: root/inet/herrno.c
diff options
context:
space:
mode:
Diffstat (limited to 'inet/herrno.c')
-rw-r--r--inet/herrno.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/inet/herrno.c b/inet/herrno.c
index ca92ec3b86..3143325e51 100644
--- a/inet/herrno.c
+++ b/inet/herrno.c
@@ -20,15 +20,12 @@ Boston, MA 02111-1307, USA. */
/* We need to have the error status variable of the resolver
accessible in the libc. */
-int __h_errno = 0;
-strong_alias (__h_errno, h_errno)
+int h_errno = 0;
/* When threaded, h_errno may be a per-process variable. */
-#ifdef __USE_REENTRANT
int *
weak_const_function
__h_errno_location (void)
{
- return &__h_errno;
+ return &h_errno;
}
-#endif