summaryrefslogtreecommitdiffstats
path: root/games/grdc
diff options
context:
space:
mode:
authormestre <mestre@openbsd.org>2016-01-04 17:33:24 +0000
committermestre <mestre@openbsd.org>2016-01-04 17:33:24 +0000
commit2010f3c835ae4bf769b9e69e53a37d2dfeb4a7e5 (patch)
tree2c0573885733a439b12417aa127262d52711e2c0 /games/grdc
parentRecord the modified mbuf chain after transmit checksum setup code (diff)
downloadwireguard-openbsd-2010f3c835ae4bf769b9e69e53a37d2dfeb4a7e5.tar.xz
wireguard-openbsd-2010f3c835ae4bf769b9e69e53a37d2dfeb4a7e5.zip
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