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/herrno.c | 8 -------- 1 file changed, 8 deletions(-) (limited to 'inet/herrno.c') 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; -} -- cgit v1.2.3