diff options
Diffstat (limited to 'winsup')
-rw-r--r-- | winsup/cygwin/ChangeLog | 5 | ||||
-rw-r--r-- | winsup/cygwin/include/cygwin/signal.h | 10 |
2 files changed, 10 insertions, 5 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 177e77c36..ca7c93b21 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,8 @@ +2006-11-27 Christopher Faylor <cgf@timesys.com> + + * include/cygwin/signal.h: Add __extension__ to various anonymous + unions and structs. (thanks to V.Haisman) + 2006-11-27 Corinna Vinschen <corinna@vinschen.de> * cyglsa.h: New header file. diff --git a/winsup/cygwin/include/cygwin/signal.h b/winsup/cygwin/include/cygwin/signal.h index 1061a7ab1..7f34506d7 100644 --- a/winsup/cygwin/include/cygwin/signal.h +++ b/winsup/cygwin/include/cygwin/signal.h @@ -81,7 +81,7 @@ struct _sigcommune void *_si_read_handle; void *_si_write_handle; void *_si_process_handle; - union + __extension__ union { int _si_fd; void *_si_pipe_fhandler; @@ -97,11 +97,11 @@ typedef struct uid_t si_uid; /* sender's uid */ int si_errno; /* errno associated with signal */ - union + __extension__ union { __uint32_t __pad[32]; /* plan for future growth */ struct _sigcommune _si_commune; /* cygwin ipc */ - union + __extension__ union { /* timers */ struct @@ -120,7 +120,7 @@ typedef struct }; /* SIGCHLD */ - struct + __extension__ struct { int si_status; /* exit code */ clock_t si_utime; /* user time */ @@ -194,7 +194,7 @@ typedef void (*_sig_func_ptr)(int); struct sigaction { - union + __extension__ union { _sig_func_ptr sa_handler; /* SIG_DFL, SIG_IGN, or pointer to a function */ void (*sa_sigaction) ( int, siginfo_t *, void * ); |