diff options
Diffstat (limited to 'sys/sys/_sigset.h')
-rw-r--r-- | sys/sys/_sigset.h | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/sys/sys/_sigset.h b/sys/sys/_sigset.h index b1ae12b..c658e28 100644 --- a/sys/sys/_sigset.h +++ b/sys/sys/_sigset.h @@ -119,7 +119,7 @@ * have the same calling protocol so there is no problem in practice. * A bit in sa_flags could be used to specify the number of args. */ -typedef void __sighandler_t __P((int)); +typedef void __sighandler_t(int); #define SIG_DFL ((__sighandler_t *)0) #define SIG_IGN ((__sighandler_t *)1) @@ -186,9 +186,8 @@ struct __siginfo; */ struct sigaction { union { - void (*__sa_handler) __P((int)); - void (*__sa_sigaction) __P((int, struct __siginfo *, - void *)); + void (*__sa_handler)(int); + void (*__sa_sigaction)(int, struct __siginfo *, void *); } __sigaction_u; /* signal handler */ int sa_flags; /* see signal options below */ sigset_t sa_mask; /* signal mask to apply */ @@ -225,7 +224,7 @@ struct sigaction { /* Additional FreeBSD values. */ #define SI_UNDEFINED 0 -typedef void __siginfohandler_t __P((int, struct __siginfo *, void *)); +typedef void __siginfohandler_t(int, struct __siginfo *, void *); typedef __sighandler_t *sig_t; /* type of pointer to a signal function */ @@ -303,7 +302,7 @@ struct sigstack { * defined by <sys/signal.h>. */ __BEGIN_DECLS -__sighandler_t *signal __P((int, __sighandler_t *)); +__sighandler_t *signal(int, __sighandler_t *); __END_DECLS #endif /* !_SYS_SIGNAL_H_ */ |