diff options
author | Ulrich Drepper <drepper@redhat.com> | 1998-11-03 17:21:07 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1998-11-03 17:21:07 +0000 |
commit | f540c0a4adc26817274b34b1cca16a4969196cc1 (patch) | |
tree | 0496e0ea2ab56ddd875e10233d3de0a75fafef74 /sysdeps/unix | |
parent | 5fea58fbe857e89ceb4f0c0afb48278806f2e32f (diff) | |
download | glibc-f540c0a4adc26817274b34b1cca16a4969196cc1.tar glibc-f540c0a4adc26817274b34b1cca16a4969196cc1.tar.gz glibc-f540c0a4adc26817274b34b1cca16a4969196cc1.tar.bz2 glibc-f540c0a4adc26817274b34b1cca16a4969196cc1.zip |
Update.
1998-11-02 16:12 -0500 Zack Weinberg <zack@rabi.phys.columbia.edu>
* sysdeps/generic/bits/signum.h: Define signals with their
historical numbers when those are in the 1-15 range and
consistent across platforms.
Define compatibility aliases (SIGIOT, SIGCLD) if __USE_MISC.
Define SIG_DFL, SIG_IGN, SIG_ERR as numeric constants cast
appropriately instead of with fake function declarations
(would cause link errors).
If __USE_UNIX98, define SIG_HOLD.
1998-10-29 H.J. Lu <hjl@gnu.org>
* sysdeps/unix/sysv/linux/bits/sigaction.h (sigaction): Use
union only if __USE_POSIX199309 is defined.
* misc/sys/select.h (pselect): Declared only if __USE_GNU is
defined.
* sysdeps/unix/sysv/linux/netatalk/at.h: Include <linux/atalk.h>
before <sys/socket.h> to make sockaddr_at available to
<sys/socket.h>.
Diffstat (limited to 'sysdeps/unix')
-rw-r--r-- | sysdeps/unix/sysv/linux/bits/sigaction.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/sysdeps/unix/sysv/linux/bits/sigaction.h b/sysdeps/unix/sysv/linux/bits/sigaction.h index 523084bcf3..b357c45342 100644 --- a/sysdeps/unix/sysv/linux/bits/sigaction.h +++ b/sysdeps/unix/sysv/linux/bits/sigaction.h @@ -25,6 +25,7 @@ struct sigaction { /* Signal handler. */ +#ifdef __USE_POSIX199309 union { /* Used if SA_SIGINFO is not set. */ @@ -33,8 +34,11 @@ struct sigaction void (*sa_sigaction) __PMT ((int, siginfo_t *, void *)); } __sigaction_handler; -#define sa_handler __sigaction_handler.sa_handler -#define sa_sigaction __sigaction_handler.sa_sigaction +# define sa_handler __sigaction_handler.sa_handler +# define sa_sigaction __sigaction_handler.sa_sigaction +#else + __sighandler_t sa_handler; +#endif /* Additional set of signals to be blocked. */ __sigset_t sa_mask; |