aboutsummaryrefslogtreecommitdiff
path: root/linuxthreads/pthread.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2002-08-03 05:51:04 +0000
committerUlrich Drepper <drepper@redhat.com>2002-08-03 05:51:04 +0000
commit3c877a044831db2e6bc32f5e18681978387aebdb (patch)
tree3a87cda04ee1c9bb03d1fb688843681bf11dc26b /linuxthreads/pthread.c
parent04a7ed77c215318884d3e2de1d08a1d0f55a8b6e (diff)
downloadglibc-3c877a044831db2e6bc32f5e18681978387aebdb.zip
glibc-3c877a044831db2e6bc32f5e18681978387aebdb.tar.gz
glibc-3c877a044831db2e6bc32f5e18681978387aebdb.tar.bz2
Update.
* pthread.c: Declare _errno, _h_errno, and _res unless we use TLS internally.
Diffstat (limited to 'linuxthreads/pthread.c')
-rw-r--r--linuxthreads/pthread.c2
1 files changed, 1 insertions, 1 deletions
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 <resolv.h>
# undef _res
-#endif
extern struct __res_state _res;
+#endif
#ifdef USE_TLS