aboutsummaryrefslogtreecommitdiff
path: root/inet
diff options
context:
space:
mode:
Diffstat (limited to 'inet')
-rw-r--r--inet/Makefile2
-rw-r--r--inet/herrno.c8
2 files changed, 1 insertions, 9 deletions
diff --git a/inet/Makefile b/inet/Makefile
index be588d78b0..3706d9811e 100644
--- a/inet/Makefile
+++ b/inet/Makefile
@@ -30,7 +30,7 @@ distribute := netgroup.h
routines := htonl htons \
inet_lnaof inet_mkadr \
- inet_netof inet_ntoa inet_net herrno \
+ inet_netof inet_ntoa inet_net herrno herrno-loc \
gethstbyad gethstbyad_r gethstbynm gethstbynm2 gethstbynm2_r \
gethstbynm_r gethstent gethstent_r \
getnetbyad getnetbyad_r getnetbynm getnetent getnetent_r \
diff --git a/inet/herrno.c b/inet/herrno.c
index b85d75be53..bd23eb7a8e 100644
--- a/inet/herrno.c
+++ b/inet/herrno.c
@@ -42,11 +42,3 @@ compat_symbol (libc, h_errno, h_errno, GLIBC_2_0);
compat_symbol (libc, _h_errno, _h_errno, GLIBC_2_0);
# endif
#endif
-
-/* When threaded, h_errno may be a per-thread variable. */
-int *
-weak_const_function
-__h_errno_location (void)
-{
- return &h_errno;
-}