* pthread.c: Declare _errno, _h_errno, and _res unless we use TLS
	internally.
This commit is contained in:
Ulrich Drepper 2002-08-03 05:51:04 +00:00
parent 04a7ed77c2
commit 3c877a0448
2 changed files with 4 additions and 1 deletions

View File

@ -1,5 +1,8 @@
2002-08-02 Ulrich Drepper <drepper@redhat.com>
* pthread.c: Declare _errno, _h_errno, and _res unless we use TLS
internally.
* cancel.c (__pthread_perform_cleanup) [USE_TLS && HAVE___THREAD]:
Don't use p_libc_specific element in thread descriptor.

View File

@ -46,9 +46,9 @@ extern int _h_errno;
/* We need the global/static resolver state here. */
# include <resolv.h>
# undef _res
#endif
extern struct __res_state _res;
#endif
#ifdef USE_TLS