Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/games/gomoku fix nested externs



details:   https://anonhg.NetBSD.org/src/rev/aa547e166433
branches:  trunk
changeset: 503357:aa547e166433
user:      christos <christos%NetBSD.org@localhost>
date:      Mon Feb 05 00:30:38 2001 +0000

description:
fix nested externs

diffstat:

 games/gomoku/bdisp.c |  9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diffs (44 lines):

diff -r 8d7aa12cfb6d -r aa547e166433 games/gomoku/bdisp.c
--- a/games/gomoku/bdisp.c      Mon Feb 05 00:29:44 2001 +0000
+++ b/games/gomoku/bdisp.c      Mon Feb 05 00:30:38 2001 +0000
@@ -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 @@
 static int     lastline;
 static char    pcolor[] = "*O.?";
 
+extern int interactive;
+extern char *plyr[];
+
 /*
  * Initialize screen display.
  */
@@ -122,7 +125,6 @@
        int update;
 {
        int i;
-       extern char *plyr[];
 
        move(21, 0);
        clrtoeol();
@@ -249,7 +251,6 @@
 {
        char *cp, *end;
        int c;
-       extern int interactive;
 
        c = 0;
        cp = buf;



Home | Main Index | Thread Index | Old Index