summaryrefslogtreecommitdiff
path: root/pthread/pt-alloc.c
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
commita2102d6a91d6e4522471da3bbc3d58473400bfe7 (patch)
treebfc766ad2751f56817dc029318778db2d0bdcfaa /pthread/pt-alloc.c
parent8765659aee80734a9d0a68a67c20c43a0d97eee4 (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/pt-alloc.c')
-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 dd9760d..615b728 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;