about summary refs log tree commit diff
path: root/resolv
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2003-02-27 09:16:51 +0000
committerUlrich Drepper <drepper@redhat.com>2003-02-27 09:16:51 +0000
commite361e438a115275fdd56eb25a52b798127adae76 (patch)
treec9d92606dc26eea795b7a18b1a5f6d75145996d1 /resolv
parente42e757ef3f125b162b8121fdcf5b6fd06bdb25b (diff)
downloadglibc-e361e438a115275fdd56eb25a52b798127adae76.tar.gz
glibc-e361e438a115275fdd56eb25a52b798127adae76.tar.xz
glibc-e361e438a115275fdd56eb25a52b798127adae76.zip
Update.
	* resolv/res_libc.c [USE___THREAD] (_res): Don't need the
	initializer anymore now that res_thread_freeres is more careful.
Diffstat (limited to 'resolv')
-rw-r--r--resolv/res_libc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/resolv/res_libc.c b/resolv/res_libc.c
index a700e9d9b6..763a88725a 100644
--- a/resolv/res_libc.c
+++ b/resolv/res_libc.c
@@ -72,7 +72,7 @@ res_init(void) {
 
 #if USE___THREAD
 /* With __thread support, this per-thread variable is used in all cases.  */
-__thread struct __res_state _res = { ._vcsock = -1 };
+__thread struct __res_state _res;
 extern __thread struct __res_state __libc_res __attribute__ ((alias ("_res")))
   attribute_hidden;
 # define _res __libc_res