From 5c2d6b49bd96816422d08dad3cc1b4c5092432e5 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Mon, 9 Jan 2006 21:27:48 +0000 Subject: [PATCH] 2006-01-09 Roland McGrath * 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. --- nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h b/nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h index 0f4691025e..e948ca10a8 100644 --- a/nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h +++ b/nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h @@ -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 , 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;