summaryrefslogtreecommitdiffstats
path: root/usr.sbin/tcpdump/setsignal.h
diff options
context:
space:
mode:
authorguenther <guenther@openbsd.org>2015-10-14 04:55:17 +0000
committerguenther <guenther@openbsd.org>2015-10-14 04:55:17 +0000
commit9ae4abf6fca2a6417dfff8fd0fb8ac10a47c2a4c (patch)
treeb475b2171c23bdb856297f742b79fa15d977e083 /usr.sbin/tcpdump/setsignal.h
parentpledge "tty" can allow ioctl TIOCEXCL on a tty (diff)
downloadwireguard-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.h6
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