summaryrefslogtreecommitdiff
path: root/games/hangman/hangman.h
diff options
context:
space:
mode:
authormestre <mestre@cvs.openbsd.org>2015-12-31 15:20:37 +0000
committermestre <mestre@cvs.openbsd.org>2015-12-31 15:20:37 +0000
commit69a0e9ebd08e21d506943c42429a62788ca7f0a4 (patch)
treee1f2b492ccc8fe9d2d8cec8286e9058986c6201c /games/hangman/hangman.h
parent36111a1b68eb0bc19024c607fa9dc9574a8ec63c (diff)
Include only needed header files per each source file
With help and OK from tb@
Diffstat (limited to 'games/hangman/hangman.h')
-rw-r--r--games/hangman/hangman.h16
1 files changed, 4 insertions, 12 deletions
diff --git a/games/hangman/hangman.h b/games/hangman/hangman.h
index aa35d4dce55..473b2af5872 100644
--- a/games/hangman/hangman.h
+++ b/games/hangman/hangman.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: hangman.h,v 1.10 2015/12/26 00:26:39 mestre Exp $ */
+/* $OpenBSD: hangman.h,v 1.11 2015/12/31 15:20:36 mestre Exp $ */
/* $NetBSD: hangman.h,v 1.5 1995/04/24 12:23:44 cgd Exp $ */
/*
@@ -32,17 +32,9 @@
* @(#)hangman.h 8.1 (Berkeley) 5/31/93
*/
-#include <sys/types.h>
-#include <sys/stat.h>
-#include <ctype.h>
-#include <curses.h>
-#include <err.h>
-#include <signal.h>
-#include <stdlib.h>
-#include <string.h>
-#include <unistd.h>
-#include "pathnames.h"
-
+#include <stdbool.h>
+#include <stdio.h>
+
#define MAXBADWORDS 100
#define MINLEN 6