summaryrefslogtreecommitdiff
path: root/games/grdc
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/grdc
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/grdc')
-rw-r--r--games/grdc/grdc.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/games/grdc/grdc.c b/games/grdc/grdc.c
index 1783f4b3c09..5da19c842f7 100644
--- a/games/grdc/grdc.c
+++ b/games/grdc/grdc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: grdc.c,v 1.23 2016/01/03 14:38:17 mestre Exp $ */
+/* $OpenBSD: grdc.c,v 1.24 2016/01/04 17:33:24 mestre Exp $ */
/*
*
* Copyright 2002 Amos Shapir. Public domain.
@@ -12,15 +12,13 @@
*/
#include <sys/ioctl.h>
-#include <sys/types.h>
#include <curses.h>
+#include <err.h>
#include <limits.h>
#include <signal.h>
#include <stdlib.h>
-#include <stdio.h>
#include <unistd.h>
-#include <err.h>
#define XLENGTH 58
#define YDEPTH 7