summaryrefslogtreecommitdiff
path: root/nptl/pthread_join.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2002-12-08 09:28:13 +0000
committerUlrich Drepper <drepper@redhat.com>2002-12-08 09:28:13 +0000
commita3957dd58406620c6b4541bafb412d68723979c8 (patch)
treeca10840b44ba0a4f8b92f66873e86913aac48f85 /nptl/pthread_join.c
parentbdb04f922004ff8433591f138e40c09722836c45 (diff)
Update.
* pt-fcntl.c (__fcntl): Initialize oldtype to avoid warning. * pthread_join.c: Likewise. * pthread_timedjoin.c: Likewise.
Diffstat (limited to 'nptl/pthread_join.c')
-rw-r--r--nptl/pthread_join.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/nptl/pthread_join.c b/nptl/pthread_join.c
index a223a7d4a3..4edbced2c1 100644
--- a/nptl/pthread_join.c
+++ b/nptl/pthread_join.c
@@ -73,8 +73,7 @@ pthread_join (threadid, thread_return)
pthread_cleanup_push (cleanup, &pd->joinid);
/* Switch to asynchronous cancellation. */
- int oldtype;
- CANCEL_ASYNC (oldtype);
+ int oldtype = CANCEL_ASYNC ();
/* Wait for the child. */