mirror of git://sourceware.org/git/glibc.git
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.
This commit is contained in:
parent
49783c67c0
commit
01a3f2ef18
|
|
@ -56,7 +56,7 @@ typedef union
|
|||
binary compatibility. */
|
||||
int __kind;
|
||||
unsigned int __nusers;
|
||||
union
|
||||
__extension__ union
|
||||
{
|
||||
int __spins;
|
||||
struct __pthread_mutex_s *__next;
|
||||
|
|
|
|||
|
|
@ -80,7 +80,7 @@ typedef union
|
|||
# define __PTHREAD_MUTEX_HAVE_PREV 1
|
||||
#else
|
||||
unsigned int __nusers;
|
||||
union
|
||||
__extension__ union
|
||||
{
|
||||
int __spins;
|
||||
struct __pthread_mutex_s *__next;
|
||||
|
|
|
|||
|
|
@ -79,7 +79,7 @@ typedef union
|
|||
# define __PTHREAD_MUTEX_HAVE_PREV 1
|
||||
#else
|
||||
unsigned int __nusers;
|
||||
union
|
||||
__extension__ union
|
||||
{
|
||||
int __spins;
|
||||
struct __pthread_mutex_s *__next;
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
/* Copyright (C) 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
|
||||
/* Copyright (C) 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
Contributed by Ulrich Drepper <drepper@redhat.com>, 2002.
|
||||
|
||||
|
|
@ -57,7 +57,7 @@ typedef union __pthread_mutex_u
|
|||
binary compatibility. */
|
||||
int __kind;
|
||||
unsigned int __nusers;
|
||||
union
|
||||
__extension__ union
|
||||
{
|
||||
int __spins;
|
||||
union __pthread_mutex_u *__next;
|
||||
|
|
|
|||
|
|
@ -79,7 +79,7 @@ typedef union
|
|||
# define __PTHREAD_MUTEX_HAVE_PREV 1
|
||||
#else
|
||||
unsigned int __nusers;
|
||||
union
|
||||
__extension__ union
|
||||
{
|
||||
int __spins;
|
||||
struct __pthread_mutex_s *__next;
|
||||
|
|
|
|||
Loading…
Reference in New Issue