summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2015-01-15 17:14:04 +0000
committerderaadt <deraadt@openbsd.org>2015-01-15 17:14:04 +0000
commit0afc0f96b3d8b92668c6299600e68550fa929b2e (patch)
tree0f3131bf4e39fd7e5cdb471edc193d0fe8aa318d
parentNR_OF_EOFS is a festering boil, lance & drain. (diff)
downloadwireguard-openbsd-0afc0f96b3d8b92668c6299600e68550fa929b2e.tar.xz
wireguard-openbsd-0afc0f96b3d8b92668c6299600e68550fa929b2e.zip
all modern systems can do this SUSPEND thing
-rw-r--r--games/hack/config.h4
-rw-r--r--games/hack/hack.ioctl.c4
2 files changed, 3 insertions, 5 deletions
diff --git a/games/hack/config.h b/games/hack/config.h
index c4078d914d0..96aa19e6bb2 100644
--- a/games/hack/config.h
+++ b/games/hack/config.h
@@ -1,4 +1,4 @@
-/* * $OpenBSD: config.h,v 1.10 2014/03/11 08:02:36 guenther Exp $*/
+/* * $OpenBSD: config.h,v 1.11 2015/01/15 17:14:04 deraadt Exp $*/
/* * $NetBSD: config.h,v 1.3 1995/03/23 08:29:15 cgd Exp $*/
/*
@@ -109,9 +109,7 @@
#define SHELL /* do not delete the '!' command */
-#ifdef BSD
#define SUSPEND /* let ^Z suspend the game */
-#endif /* BSD */
#endif /* UNIX */
#ifdef CHDIR
diff --git a/games/hack/hack.ioctl.c b/games/hack/hack.ioctl.c
index bf67a1d763b..fa63c9d9bbc 100644
--- a/games/hack/hack.ioctl.c
+++ b/games/hack/hack.ioctl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: hack.ioctl.c,v 1.6 2009/10/27 23:59:25 deraadt Exp $ */
+/* $OpenBSD: hack.ioctl.c,v 1.7 2015/01/15 17:14:04 deraadt Exp $ */
/*
* Copyright (c) 1985, Stichting Centrum voor Wiskunde en Informatica,
@@ -81,7 +81,7 @@ setioctls()
(void) tcsetattr(fileno(stdin), TCSADRAIN, &termios);
}
-#ifdef SUSPEND /* implies BSD */
+#ifdef SUSPEND
#include <signal.h>
int
dosuspend()