Update.
authorUlrich Drepper <drepper@redhat.com>
Sat, 3 Aug 2002 05:51:04 +0000 (05:51 +0000)
committerUlrich Drepper <drepper@redhat.com>
Sat, 3 Aug 2002 05:51:04 +0000 (05:51 +0000)
* pthread.c: Declare _errno, _h_errno, and _res unless we use TLS
internally.

linuxthreads/ChangeLog
linuxthreads/pthread.c

index b904593..bcc312c 100644 (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.
 
index 8110317..a5fcbd8 100644 (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