Source-Changes-HG archive

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

[src/trunk]: src/games/gomoku move extern decls to .h files



details:   https://anonhg.NetBSD.org/src/rev/c76c74d5ef95
branches:  trunk
changeset: 794707:c76c74d5ef95
user:      dholland <dholland%NetBSD.org@localhost>
date:      Sat Mar 22 18:58:57 2014 +0000

description:
move extern decls to .h files

diffstat:

 games/gomoku/bdisp.c  |  7 ++-----
 games/gomoku/gomoku.h |  5 ++++-
 2 files changed, 6 insertions(+), 6 deletions(-)

diffs (47 lines):

diff -r 5efad9ece3ae -r c76c74d5ef95 games/gomoku/bdisp.c
--- a/games/gomoku/bdisp.c      Sat Mar 22 18:54:28 2014 +0000
+++ b/games/gomoku/bdisp.c      Sat Mar 22 18:58:57 2014 +0000
@@ -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 @@
 static int     lastline;
 static char    pcolor[] = "*O.?";
 
-extern int interactive;
-extern const char *plyr[];
-
 /*
  * Initialize screen display.
  */
diff -r 5efad9ece3ae -r c76c74d5ef95 games/gomoku/gomoku.h
--- a/games/gomoku/gomoku.h     Sat Mar 22 18:54:28 2014 +0000
+++ b/games/gomoku/gomoku.h     Sat Mar 22 18:58:57 2014 +0000
@@ -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     movenum;
 extern int     debug;
 
+extern int interactive;
+extern const char *plyr[];
+
 #define ASSERT(x)
 
 void   bdinit(struct spotstr *);



Home | Main Index | Thread Index | Old Index