]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - resolv/res_libc.c
2002-10-16 Jakub Jelinek <jakub@redhat.com>
[thirdparty/glibc.git] / resolv / res_libc.c
index 9f9af1d7017a0930df809a651a0811d06777faa5..60f7febf056c59fe9593b4c0a87e96bd9e8b406c 100644 (file)
@@ -27,6 +27,9 @@
 #if USE_TLS && HAVE___THREAD
 /* With __thread support, this per-thread variable is used in all cases.  */
 __thread struct __res_state _res;
+extern __thread struct __res_state __libc_res __attribute__ ((alias ("_res")))
+  attribute_hidden;
+# define _res __libc_res
 #else
 /* The resolver state for use by single-threaded programs.  */
 struct __res_state _res;