1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-29 11:41:21 +03:00
* resolv/res_libc.c [USE___THREAD] (_res): Don't need the
	initializer anymore now that res_thread_freeres is more careful.
This commit is contained in:
Ulrich Drepper
2003-02-27 09:16:51 +00:00
parent e42e757ef3
commit e361e438a1
2 changed files with 4 additions and 1 deletions

View File

@ -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