2006-01-09 Roland McGrath <roland@redhat.com>

* sysdeps/unix/sysv/linux/i386/bits/pthreadtypes.h (pthread_mutex_t):
	Use __extension__ on anonymous union definition.
	* sysdeps/unix/sysv/linux/x86_64/bits/pthreadtypes.h: Likewise.
	* sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Likewise.
	* sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Likewise.
	* sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Likewise.
	* sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Likewise.
This commit is contained in:
Roland McGrath 2006-01-09 21:27:48 +00:00
parent add27d6620
commit 5c2d6b49bd
1 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
/* Machine-specific pthread type layouts. SPARC version.
Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc.
Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Jakub Jelinek <jakub@redhat.com>, 2003.
@ -80,7 +80,7 @@ typedef union __pthread_mutex_u
# define __PTHREAD_MUTEX_HAVE_PREV 1
#else
unsigned int __nusers;
union
__extension__ union
{
int __spins;
union __pthread_mutex_u *__next;