diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1995-12-14 04:47:45 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1995-12-14 04:47:45 +0000 |
commit | 9043b73586e8eff30f33a97a5b1802f1032c3288 (patch) | |
tree | 5238a6096e950295682af33b86d1ed58fe4b596e /sys/compat/svr4/svr4_signal.h | |
parent | dd79441110b3311ff76301f49a0a640d84ead876 (diff) |
update from netbsd
Diffstat (limited to 'sys/compat/svr4/svr4_signal.h')
-rw-r--r-- | sys/compat/svr4/svr4_signal.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/sys/compat/svr4/svr4_signal.h b/sys/compat/svr4/svr4_signal.h index 8dfeee42749..fad82523a19 100644 --- a/sys/compat/svr4/svr4_signal.h +++ b/sys/compat/svr4/svr4_signal.h @@ -1,4 +1,4 @@ -/* $NetBSD: svr4_signal.h,v 1.13 1995/08/14 02:22:20 mycroft Exp $ */ +/* $NetBSD: svr4_signal.h,v 1.14 1995/10/14 20:24:41 christos Exp $ */ /* * Copyright (c) 1994 Christos Zoulas @@ -76,13 +76,14 @@ #define SVR4_SIGIGNORE_MASK 0x0800 #define SVR4_SIGPAUSE_MASK 0x1000 -#define SVR4_SIGNO(x) ((x) & SVR4_SIGNO_MASK) -#define SVR4_SIGCALL(x) ((x) & ~SVR4_SIGNO_MASK) +typedef void (*svr4_sig_t) __P((int, svr4_siginfo_t *, void *)); +#define SVR4_SIG_DFL (svr4_sig_t) 0 +#define SVR4_SIG_ERR (svr4_sig_t) -1 +#define SVR4_SIG_IGN (svr4_sig_t) 1 +#define SVR4_SIG_HOLD (svr4_sig_t) 2 -#define SVR4_SIG_DFL (void(*)())0 -#define SVR4_SIG_ERR (void(*)())-1 -#define SVR4_SIG_IGN (void(*)())1 -#define SVR4_SIG_HOLD (void(*)())2 +#define SVR4_SIGNO(a) ((a) & SVR4_SIGNO_MASK) +#define SVR4_SIGCALL(a) ((a) & ~SVR4_SIGNO_MASK) #define SVR4_SIG_BLOCK 1 #define SVR4_SIG_UNBLOCK 2 @@ -91,7 +92,6 @@ typedef struct { u_long bits[4]; } svr4_sigset_t; -typedef void (*svr4_sig_t) __P((int)); struct svr4_sigaction { int sa_flags; |