PATCH: Remove excess element in sysdeps/pthread/pthread.h
H.J. Lu
hjl.tools@gmail.com
Thu Jun 12 13:08:00 GMT 2008
Hi,
On Fedora 9/ia32 and Fedora 9/Intel64, with gcc 4.3, I got
tst-initializers1.c:29: error: excess elements in struct initializer
tst-initializers1.c:31: error: excess elements in struct initializer
tst-initializers1.c:29: error: excess elements in struct initializer
tst-initializers1.c:31: error: excess elements in struct initializer
tst-initializers1.c:29: error: excess elements in struct initializer
tst-initializers1.c:31: error: excess elements in struct initializer
tst-initializers1.c:29: error: excess elements in struct initializer
tst-initializers1.c:31: error: excess elements in struct initializer
tst-initializers1.c:29: error: excess elements in struct initializer
tst-initializers1.c:31: error: excess elements in struct initializer
There are 11 fields in__data of pthread_rwlock_t. But thee are
12 elements in initializer. This patch fixes it.
--
H.J.
---
2008-06-11 H.J. Lu <hongjiu.lu@intel.com>
* sysdeps/pthread/pthread.h (PTHREAD_RWLOCK_INITIALIZER): Remove
excess element.
(PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP): Likewise.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: glibc-union-1.txt
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20080612/cb7802c9/attachment.txt>
More information about the Libc-alpha
mailing list