summaryrefslogtreecommitdiff
path: root/games/hangman
diff options
context:
space:
mode:
authormestre <mestre@cvs.openbsd.org>2016-01-04 17:33:25 +0000
committermestre <mestre@cvs.openbsd.org>2016-01-04 17:33:25 +0000
commit96c0ba3936c91323465ddc1086d94655a49726b0 (patch)
tree4a05f8414046a356458034ec2a525718b567fad3 /games/hangman
parenta2eb8154d629d90444f3800ce2cdb939e4f1f2d3 (diff)
More cleanup and sorting on header section
OK tb@ and he also pointed out that for consistency with rest of the tree we should include termios.h instead of sys/ttydefaults.h, where applicable
Diffstat (limited to 'games/hangman')
-rw-r--r--games/hangman/endgame.c5
-rw-r--r--games/hangman/getguess.c5
2 files changed, 4 insertions, 6 deletions
diff --git a/games/hangman/endgame.c b/games/hangman/endgame.c
index 365c67e44c2..b4e5b031979 100644
--- a/games/hangman/endgame.c
+++ b/games/hangman/endgame.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: endgame.c,v 1.8 2015/12/31 15:20:36 mestre Exp $ */
+/* $OpenBSD: endgame.c,v 1.9 2016/01/04 17:33:24 mestre Exp $ */
/* $NetBSD: endgame.c,v 1.3 1995/03/23 08:32:40 cgd Exp $ */
/*
@@ -30,9 +30,8 @@
* SUCH DAMAGE.
*/
-#include <sys/ttydefaults.h>
-
#include <curses.h>
+#include <termios.h>
#include "hangman.h"
diff --git a/games/hangman/getguess.c b/games/hangman/getguess.c
index 5627538f000..48d70adca88 100644
--- a/games/hangman/getguess.c
+++ b/games/hangman/getguess.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: getguess.c,v 1.14 2015/12/31 15:20:36 mestre Exp $ */
+/* $OpenBSD: getguess.c,v 1.15 2016/01/04 17:33:24 mestre Exp $ */
/* $NetBSD: getguess.c,v 1.5 1995/03/23 08:32:43 cgd Exp $ */
/*
@@ -30,10 +30,9 @@
* SUCH DAMAGE.
*/
-#include <sys/ttydefaults.h>
-
#include <ctype.h>
#include <curses.h>
+#include <termios.h>
#include <unistd.h>
#include "hangman.h"