diff options
author | Marcus Brinkmann <marcus@gnu.org> | 2004-11-02 03:52:19 +0000 |
---|---|---|
committer | Thomas Schwinge <tschwinge@gnu.org> | 2009-04-06 22:40:34 +0200 |
commit | a2102d6a91d6e4522471da3bbc3d58473400bfe7 (patch) | |
tree | bfc766ad2751f56817dc029318778db2d0bdcfaa /sysdeps/generic/bits/condition.h | |
parent | 8765659aee80734a9d0a68a67c20c43a0d97eee4 (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 'sysdeps/generic/bits/condition.h')
-rw-r--r-- | sysdeps/generic/bits/condition.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sysdeps/generic/bits/condition.h b/sysdeps/generic/bits/condition.h index cb7e935..a194b05 100644 --- a/sysdeps/generic/bits/condition.h +++ b/sysdeps/generic/bits/condition.h @@ -34,7 +34,6 @@ struct __pthread_cond /* Initializer for a condition variable. */ #define __PTHREAD_COND_INITIALIZER \ - ((struct __pthread_cond) \ - { __SPIN_LOCK_INITIALIZER, NULL, NULL, NULL, NULL }) + { __SPIN_LOCK_INITIALIZER, NULL, NULL, NULL, NULL } #endif /* bits/condition.h */ |