diff options
Diffstat (limited to 'linuxthreads')
-rw-r--r-- | linuxthreads/ChangeLog | 3 | ||||
-rw-r--r-- | linuxthreads/pthread.c | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/linuxthreads/ChangeLog b/linuxthreads/ChangeLog index b9045932bd..bcc312cee4 100644 --- a/linuxthreads/ChangeLog +++ b/linuxthreads/ChangeLog @@ -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. diff --git a/linuxthreads/pthread.c b/linuxthreads/pthread.c index 8110317736..a5fcbd8118 100644 --- a/linuxthreads/pthread.c +++ b/linuxthreads/pthread.c @@ -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 |