From 270d9d472952a8923fa8a6d9d830fea77f4b838f Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sat, 28 Dec 2002 10:24:40 +0000 Subject: Update. * inet/herrno.c (__h_errno_location): Remove. * inet/Makefile (routines): Add herrno-loc. * resolv/res_libc.c (__res_state): Remove. * resolv/Makefile (routines): Add res-state. * sysdeps/generic/herrno-loc.c: New file. * sysdeps/generic/res-state.c: New file. 2002-12-27 Jakub Jelinek --- inet/Makefile | 2 +- inet/herrno.c | 8 -------- 2 files changed, 1 insertion(+), 9 deletions(-) (limited to 'inet') diff --git a/inet/Makefile b/inet/Makefile index be588d7..3706d98 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 b85d75b..bd23eb7 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; -} -- cgit v1.1