From 11929d69ae7c41cc0ce75497ebfe14112593d8eb Mon Sep 17 00:00:00 2001 From: jb Date: Sat, 9 May 1998 09:18:33 +0000 Subject: Add 'extern' to those arrays that are declared and initialised in other files. --- games/backgammon/common_source/back.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'games/backgammon/common_source/back.h') 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 */ -- cgit v1.1