summaryrefslogtreecommitdiff
path: root/pthread
diff options
context:
space:
mode:
authorMarcus Brinkmann <marcus@gnu.org>2004-11-02 03:52:19 +0000
committerThomas Schwinge <tschwinge@gnu.org>2009-04-06 22:40:34 +0200
commita77e8d9fb87aa1d7ab97839877ad9da9f57e36e3 (patch)
tree2ba7c7bb40d94ed21dd444199b8eafc532552865 /pthread
parent905902fe736354fa553aea0e38e52bc294f84e92 (diff)
2004-11-02 Marcus Brinkmann <marcus@gnu.org>
* sysdeps/generic/bits/condition.h (__PTHREAD_COND_INITIALIZER): Remove compound statement. * pthread/pt-alloc.c (initialize_pthread): Use compound statement. * sysdeps/generic/pt-cond-init.c (pthread_cond_init): Likewise.
Diffstat (limited to 'pthread')
-rw-r--r--pthread/pt-alloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pthread/pt-alloc.c b/pthread/pt-alloc.c
index dd9760d6..615b7289 100644
--- a/pthread/pt-alloc.c
+++ b/pthread/pt-alloc.c
@@ -70,7 +70,7 @@ initialize_pthread (struct __pthread *new, int recycling)
new->stack = 0;
new->state_lock = (struct __pthread_mutex) PTHREAD_MUTEX_INITIALIZER;
- new->state_cond = PTHREAD_COND_INITIALIZER;
+ new->state_cond = (struct __pthread_cond) PTHREAD_COND_INITIALIZER;
new->cancelation_handlers = 0;