summaryrefslogtreecommitdiffstats
path: root/gomoku
diff options
context:
space:
mode:
authordholland <dholland@NetBSD.org>2014-03-22 18:58:57 +0000
committerdholland <dholland@NetBSD.org>2014-03-22 18:58:57 +0000
commita8777374397a2b8c881b5aedddb1125e1263fb0d (patch)
tree8d20a572be5643f57d0c7ad2fd2eb33e8eb93484 /gomoku
parent9c23ddf050470f531504262a8b2f7dc0416facdd (diff)
downloadbsdgames-darwin-a8777374397a2b8c881b5aedddb1125e1263fb0d.tar.gz
bsdgames-darwin-a8777374397a2b8c881b5aedddb1125e1263fb0d.tar.zst
bsdgames-darwin-a8777374397a2b8c881b5aedddb1125e1263fb0d.zip
move extern decls to .h files
Diffstat (limited to 'gomoku')
-rw-r--r--gomoku/bdisp.c7
-rw-r--r--gomoku/gomoku.h5
2 files changed, 6 insertions, 6 deletions
diff --git a/gomoku/bdisp.c b/gomoku/bdisp.c
index ae18d455..db2e74a2 100644
--- a/gomoku/bdisp.c
+++ b/gomoku/bdisp.c
@@ -1,4 +1,4 @@
-/* $NetBSD: bdisp.c,v 1.16 2012/02/18 06:57:23 matt Exp $ */
+/* $NetBSD: bdisp.c,v 1.17 2014/03/22 18:58:57 dholland Exp $ */
/*
* Copyright (c) 1994
@@ -37,7 +37,7 @@
#if 0
static char sccsid[] = "@(#)bdisp.c 8.2 (Berkeley) 5/3/95";
#else
-__RCSID("$NetBSD: bdisp.c,v 1.16 2012/02/18 06:57:23 matt Exp $");
+__RCSID("$NetBSD: bdisp.c,v 1.17 2014/03/22 18:58:57 dholland Exp $");
#endif
#endif /* not lint */
@@ -53,9 +53,6 @@ __RCSID("$NetBSD: bdisp.c,v 1.16 2012/02/18 06:57:23 matt Exp $");
static int lastline;
static char pcolor[] = "*O.?";
-extern int interactive;
-extern const char *plyr[];
-
/*
* Initialize screen display.
*/
diff --git a/gomoku/gomoku.h b/gomoku/gomoku.h
index deca3ac5..abd1b6d0 100644
--- a/gomoku/gomoku.h
+++ b/gomoku/gomoku.h
@@ -1,4 +1,4 @@
-/* $NetBSD: gomoku.h,v 1.19 2010/03/29 04:28:47 dholland Exp $ */
+/* $NetBSD: gomoku.h,v 1.20 2014/03/22 18:58:57 dholland Exp $ */
/*
* Copyright (c) 1994
@@ -265,6 +265,9 @@ extern int movelog[BSZ * BSZ]; /* history of moves */
extern int movenum;
extern int debug;
+extern int interactive;
+extern const char *plyr[];
+
#define ASSERT(x)
void bdinit(struct spotstr *);