diff options
author | Christopher Faylor <me@cgf.cx> | 2006-11-27 16:43:34 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2006-11-27 16:43:34 +0000 |
commit | f64b151f5905f5a971351cb23c19e7aad9036c0f (patch) | |
tree | 0b0695e96e89358a8e70ecc99b2cdd04a6162e34 /winsup | |
parent | e2edec23e59d20cec6b98a7a58808635353a140b (diff) | |
download | cygnal-f64b151f5905f5a971351cb23c19e7aad9036c0f.tar.gz cygnal-f64b151f5905f5a971351cb23c19e7aad9036c0f.tar.bz2 cygnal-f64b151f5905f5a971351cb23c19e7aad9036c0f.zip |
* include/cygwin/signal.h: Add __extension__ to various anonymous unions and
structs. (thanks to V.Haisman)
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 * ); |