summaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authorjb <jb@FreeBSD.org>1998-05-09 09:18:33 +0000
committerjb <jb@FreeBSD.org>1998-05-09 09:18:33 +0000
commit11929d69ae7c41cc0ce75497ebfe14112593d8eb (patch)
treeabcdcb6118e3afda71082d07422cb2e2e0f7ecf2 /games
parente80744306c5b4e923e6e90c6464e1cd4987fdc92 (diff)
downloadFreeBSD-src-11929d69ae7c41cc0ce75497ebfe14112593d8eb.zip
FreeBSD-src-11929d69ae7c41cc0ce75497ebfe14112593d8eb.tar.gz
Add 'extern' to those arrays that are declared and initialised
in other files.
Diffstat (limited to 'games')
-rw-r--r--games/backgammon/common_source/back.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/games/backgammon/common_source/back.h b/games/backgammon/common_source/back.h
index 136938c..01003a6 100644
--- a/games/backgammon/common_source/back.h
+++ b/games/backgammon/common_source/back.h
@@ -53,8 +53,8 @@
*
*/
-char EXEC[]; /* object for main program */
-char TEACH[]; /* object for tutorial program */
+extern char EXEC[]; /* object for main program */
+extern char TEACH[]; /* object for tutorial program */
int pnum; /* color of player:
-1 = white
@@ -108,7 +108,7 @@ char cin[100]; /* input line of current move
(used for reconstructing input after
a backspace) */
-char *color[];
+extern char *color[];
/* colors as strings */
char **colorptr; /* color of current player */
char **Colorptr; /* color of current player, capitalized */
OpenPOWER on IntegriCloud