[Glibc-bsd-commits] r2779 - in trunk/glibc-ports/kfreebsd: i386/bits x86_64/bits

Petr Salinger ps-guest at alioth.debian.org
Mon Sep 7 06:28:41 UTC 2009


Author: ps-guest
Date: 2009-09-07 06:28:41 +0000 (Mon, 07 Sep 2009)
New Revision: 2779

Modified:
   trunk/glibc-ports/kfreebsd/i386/bits/sigcontext.h
   trunk/glibc-ports/kfreebsd/x86_64/bits/sigcontext.h
Log:
add __extension__ into <bits/sigcontext.h> as we use unnamed unions



Modified: trunk/glibc-ports/kfreebsd/i386/bits/sigcontext.h
===================================================================
--- trunk/glibc-ports/kfreebsd/i386/bits/sigcontext.h	2009-09-04 13:14:45 UTC (rev 2778)
+++ trunk/glibc-ports/kfreebsd/i386/bits/sigcontext.h	2009-09-07 06:28:41 UTC (rev 2779)
@@ -27,7 +27,7 @@
 /* State of this thread when the signal was taken.
    The unions below are for compatibility with Linux (whose sigcontext
    components don't have sc_ prefix) */
-struct sigcontext
+__extension__ struct sigcontext
   {
     __sigset_t 	sc_mask;		/* Blocked signals to restore.  */
     int 	sc_onstack;		/* Nonzero if running on sigstack.  */

Modified: trunk/glibc-ports/kfreebsd/x86_64/bits/sigcontext.h
===================================================================
--- trunk/glibc-ports/kfreebsd/x86_64/bits/sigcontext.h	2009-09-04 13:14:45 UTC (rev 2778)
+++ trunk/glibc-ports/kfreebsd/x86_64/bits/sigcontext.h	2009-09-07 06:28:41 UTC (rev 2779)
@@ -29,7 +29,7 @@
 /* State of this thread when the signal was taken.
    The unions below are for compatibility with Linux (whose sigcontext
    components don't have sc_ prefix) */
-struct sigcontext
+__extension__ struct sigcontext
   {
     __sigset_t 	sc_mask;		/* Blocked signals to restore.  */
     int 	sc_onstack;		/* Nonzero if running on sigstack.  */
@@ -98,7 +98,7 @@
 
 #else
 
-struct sigcontext
+__extension__ struct sigcontext
   {
     __sigset_t 	sc_mask;		/* Blocked signals to restore.  */
     long 	sc_onstack;		/* Nonzero if running on sigstack.  */




More information about the Glibc-bsd-commits mailing list