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 --- resolv/res_libc.c | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'resolv/res_libc.c') diff --git a/resolv/res_libc.c b/resolv/res_libc.c index 7c4fd7a119..4f67a31785 100644 --- a/resolv/res_libc.c +++ b/resolv/res_libc.c @@ -41,17 +41,6 @@ struct __res_state _res; compat_symbol (libc, _res, _res, GLIBC_2_0); # endif #endif - -/* This function is used to access the resolver state in - single-threaded programs. */ -struct __res_state * -#if ! USE___THREAD -weak_const_function -#endif -__res_state (void) -{ - return &_res; -} /* The following bit is copied from res_data.c (where it is #ifdef'ed -- cgit v1.2.3