diff options
author | marcus <marcus> | 2004-11-02 03:52:17 +0000 |
---|---|---|
committer | marcus <marcus> | 2004-11-02 03:52:17 +0000 |
commit | c8a3cad6258f94dd15f94a93b745696473a62c70 (patch) | |
tree | 242c549dd51d4ffa5e468bb86f8b644b60964261 /libpthread/pthread | |
parent | 3c9d74243b5f614cfb400339b7d9161d57435a78 (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 'libpthread/pthread')
-rw-r--r-- | libpthread/pthread/pt-alloc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libpthread/pthread/pt-alloc.c b/libpthread/pthread/pt-alloc.c index dd9760d..615b728 100644 --- a/libpthread/pthread/pt-alloc.c +++ b/libpthread/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; |