From: Ulrich Drepper Date: Sat, 3 Aug 2002 05:51:04 +0000 (+0000) Subject: Update. X-Git-Tag: upstream/2.30~21538 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3c877a044831db2e6bc32f5e18681978387aebdb;p=external%2Fglibc.git Update. * pthread.c: Declare _errno, _h_errno, and _res unless we use TLS internally. --- diff --git a/linuxthreads/ChangeLog b/linuxthreads/ChangeLog index b904593..bcc312c 100644 --- a/linuxthreads/ChangeLog +++ b/linuxthreads/ChangeLog @@ -1,5 +1,8 @@ 2002-08-02 Ulrich Drepper + * 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 8110317..a5fcbd8 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 # undef _res -#endif extern struct __res_state _res; +#endif #ifdef USE_TLS