From a2102d6a91d6e4522471da3bbc3d58473400bfe7 Mon Sep 17 00:00:00 2001 From: Marcus Brinkmann Date: Tue, 2 Nov 2004 03:52:19 +0000 Subject: 2004-11-02 Marcus Brinkmann * 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. --- pthread/pt-alloc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pthread/pt-alloc.c') 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; -- cgit v1.2.3