2002-07-30 Roland McGrath <roland@redhat.com>
authorroland <roland>
Fri, 2 Aug 2002 03:31:06 +0000 (03:31 +0000)
committerroland <roland>
Fri, 2 Aug 2002 03:31:06 +0000 (03:31 +0000)
commitfe8888af8eeb780864be5feea6b1e40cf1acf1fd
tree8041fa62795fa5337299d12f85e7cdcfa0e7c4e8
parent7033645e721282e178c8dad5dbb82f607268add5
2002-07-30  Roland McGrath  <roland@redhat.com>

* resolv/resolv.h (_res): Define macro unconditionally.
[! _LIBC_REENTRANT] (_res): Move this conditional decl to ...
* include/resolv.h: ... here.
[USE_TLS && HAVE___THREAD] (_res): #undef it and declare
as a __thread variable.
* resolv/res_libc.c [USE_TLS && HAVE___THREAD] (_res): Define it as
a __thread variable instead of a global.
* resolv/res_data.c [_LIBC]: Don't #undef _res.
include/resolv.h
resolv/res_data.c
resolv/res_libc.c
resolv/resolv.h