diff options
| author | 2015-10-14 04:55:17 +0000 | |
|---|---|---|
| committer | 2015-10-14 04:55:17 +0000 | |
| commit | 9ae4abf6fca2a6417dfff8fd0fb8ac10a47c2a4c (patch) | |
| tree | b475b2171c23bdb856297f742b79fa15d977e083 /usr.sbin/tcpdump/setsignal.h | |
| parent | pledge "tty" can allow ioctl TIOCEXCL on a tty (diff) | |
| download | wireguard-openbsd-9ae4abf6fca2a6417dfff8fd0fb8ac10a47c2a4c.tar.xz wireguard-openbsd-9ae4abf6fca2a6417dfff8fd0fb8ac10a47c2a4c.zip | |
Remove conditional compilation and #defines around signal handling
Don't catch signals that were ignored on entry
Suppress SIGCHLD if our kid is stopped: we don't care and it's not an error
ok millert@
Diffstat (limited to 'usr.sbin/tcpdump/setsignal.h')
| -rw-r--r-- | usr.sbin/tcpdump/setsignal.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/tcpdump/setsignal.h b/usr.sbin/tcpdump/setsignal.h index a83a8356784..1b33d36192f 100644 --- a/usr.sbin/tcpdump/setsignal.h +++ b/usr.sbin/tcpdump/setsignal.h @@ -1,4 +1,4 @@ -/* $OpenBSD: setsignal.h,v 1.3 2007/10/07 16:41:05 deraadt Exp $ */ +/* $OpenBSD: setsignal.h,v 1.4 2015/10/14 04:55:17 guenther Exp $ */ /* * Copyright (c) 1997 @@ -20,10 +20,10 @@ * WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. * - * @(#) $Id: setsignal.h,v 1.3 2007/10/07 16:41:05 deraadt Exp $ (LBL) + * @(#) $Id: setsignal.h,v 1.4 2015/10/14 04:55:17 guenther Exp $ (LBL) */ #ifndef setsignal_h #define setsignal_h -RETSIGTYPE (*setsignal(int, RETSIGTYPE (*)(int)))(int); +void setsignal(int, void (*)(int)); #endif |
