summaryrefslogtreecommitdiff
path: root/games/gomoku/pickmove.c
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/gomoku/pickmove.c
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/gomoku/pickmove.c')
-rw-r--r--games/gomoku/pickmove.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/games/gomoku/pickmove.c b/games/gomoku/pickmove.c
index 098cce378e6..ab8ac3364b5 100644
--- a/games/gomoku/pickmove.c
+++ b/games/gomoku/pickmove.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pickmove.c,v 1.14 2015/08/22 14:47:41 deraadt Exp $ */
+/* $OpenBSD: pickmove.c,v 1.15 2016/01/04 17:33:24 mestre Exp $ */
/*
* Copyright (c) 1994
* The Regents of the University of California. All rights reserved.
@@ -31,11 +31,12 @@
* SUCH DAMAGE.
*/
-#include "gomoku.h"
-#include <stdlib.h>
-#include <string.h>
#include <curses.h>
#include <limits.h>
+#include <stdlib.h>
+#include <string.h>
+
+#include "gomoku.h"
#define BITS_PER_INT (sizeof(int) * CHAR_BIT)
#define MAPSZ (BAREA / BITS_PER_INT)