summaryrefslogtreecommitdiffstats
path: root/gomoku
diff options
context:
space:
mode:
authorchristos <christos@NetBSD.org>2001-02-05 00:30:38 +0000
committerchristos <christos@NetBSD.org>2001-02-05 00:30:38 +0000
commit005f15c78e408f76e79e10fe47c2b0a59f754c02 (patch)
tree3d2f176c761c4c6bf29d70bcd763c3141e96fdd1 /gomoku
parent4af7918feecde8c98a6baf91564e55fcc594fc6b (diff)
downloadbsdgames-darwin-005f15c78e408f76e79e10fe47c2b0a59f754c02.tar.gz
bsdgames-darwin-005f15c78e408f76e79e10fe47c2b0a59f754c02.tar.zst
bsdgames-darwin-005f15c78e408f76e79e10fe47c2b0a59f754c02.zip
fix nested externs
Diffstat (limited to 'gomoku')
-rw-r--r--gomoku/bdisp.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/gomoku/bdisp.c b/gomoku/bdisp.c
index becce6b7..cf719bb9 100644
--- a/gomoku/bdisp.c
+++ b/gomoku/bdisp.c
@@ -1,4 +1,4 @@
-/* $NetBSD: bdisp.c,v 1.6 1999/09/08 21:17:49 jsm Exp $ */
+/* $NetBSD: bdisp.c,v 1.7 2001/02/05 00:30:38 christos Exp $ */
/*
* Copyright (c) 1994
@@ -41,7 +41,7 @@
#if 0
static char sccsid[] = "@(#)bdisp.c 8.2 (Berkeley) 5/3/95";
#else
-__RCSID("$NetBSD: bdisp.c,v 1.6 1999/09/08 21:17:49 jsm Exp $");
+__RCSID("$NetBSD: bdisp.c,v 1.7 2001/02/05 00:30:38 christos Exp $");
#endif
#endif /* not lint */
@@ -55,6 +55,9 @@ __RCSID("$NetBSD: bdisp.c,v 1.6 1999/09/08 21:17:49 jsm Exp $");
static int lastline;
static char pcolor[] = "*O.?";
+extern int interactive;
+extern char *plyr[];
+
/*
* Initialize screen display.
*/
@@ -122,7 +125,6 @@ bdwho(update)
int update;
{
int i;
- extern char *plyr[];
move(21, 0);
clrtoeol();
@@ -249,7 +251,6 @@ getline(buf, size)
{
char *cp, *end;
int c;
- extern int interactive;
c = 0;
cp = buf;