summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2015-01-19 07:41:01 +0000
committerderaadt <deraadt@openbsd.org>2015-01-19 07:41:01 +0000
commitf153452a7b92c3ebdd7f56e6f93752fbf08d76ac (patch)
tree734ccc52add9df4069dba7f3012edaa70a6d3fd2
parentreplace local MIN() with MINIMUM() (diff)
downloadwireguard-openbsd-f153452a7b92c3ebdd7f56e6f93752fbf08d76ac.tar.xz
wireguard-openbsd-f153452a7b92c3ebdd7f56e6f93752fbf08d76ac.zip
If SIGUSR1 and SIGUSR2 are unavailable, don't invent something crazy
honouring systems before 4.3BSD.
-rw-r--r--usr.sbin/rbootd/defs.h12
1 files changed, 1 insertions, 11 deletions
diff --git a/usr.sbin/rbootd/defs.h b/usr.sbin/rbootd/defs.h
index eff3f0419a2..39270824bcf 100644
--- a/usr.sbin/rbootd/defs.h
+++ b/usr.sbin/rbootd/defs.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: defs.h,v 1.9 2015/01/16 06:40:19 deraadt Exp $ */
+/* $OpenBSD: defs.h,v 1.10 2015/01/19 07:41:01 deraadt Exp $ */
/* $NetBSD: defs.h,v 1.5 1995/10/06 05:12:14 thorpej Exp $ */
/*
@@ -52,16 +52,6 @@
*/
/*
- * SIGUSR1 and SIGUSR2 are defined in <signal.h> for 4.3BSD systems.
- */
-#ifndef SIGUSR1
-#define SIGUSR1 SIGEMT
-#endif
-#ifndef SIGUSR2
-#define SIGUSR2 SIGFPE
-#endif
-
-/*
* These can be faster & more efficient than strcmp()/strncmp()...
*/
#define STREQN(s1,s2) ((*s1 == *s2) && (strcmp(s1,s2) == 0))