diff options
author | Ulrich Drepper <drepper@redhat.com> | 2002-12-28 10:24:40 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2002-12-28 10:24:40 +0000 |
commit | 270d9d472952a8923fa8a6d9d830fea77f4b838f (patch) | |
tree | d5fa14a0a0fd3cdc509580686af55bc93ceb93e7 /resolv | |
parent | afb2e954009b7ff48379a254926730b303ce7bab (diff) | |
download | glibc-270d9d472952a8923fa8a6d9d830fea77f4b838f.tar.gz |
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 <jakub@redhat.com>
Diffstat (limited to 'resolv')
-rw-r--r-- | resolv/Makefile | 2 | ||||
-rw-r--r-- | resolv/res_libc.c | 11 |
2 files changed, 1 insertions, 12 deletions
diff --git a/resolv/Makefile b/resolv/Makefile index f79100bd5a..c3b66052de 100644 --- a/resolv/Makefile +++ b/resolv/Makefile @@ -29,7 +29,7 @@ distribute := ../conf/portability.h mapv4v6addr.h mapv4v6hostent.h \ Banner res_hconf.h res_debug.h README gai_misc.h ga_test.c routines := herror inet_addr inet_ntop inet_pton nsap_addr res_init \ - res_hconf res_libc + res_hconf res_libc res-state tests = tst-aton 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 |