diff options
author | jb <jb@FreeBSD.org> | 1998-05-09 09:18:33 +0000 |
---|---|---|
committer | jb <jb@FreeBSD.org> | 1998-05-09 09:18:33 +0000 |
commit | 11929d69ae7c41cc0ce75497ebfe14112593d8eb (patch) | |
tree | abcdcb6118e3afda71082d07422cb2e2e0f7ecf2 /games/backgammon | |
parent | e80744306c5b4e923e6e90c6464e1cd4987fdc92 (diff) | |
download | FreeBSD-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/backgammon')
-rw-r--r-- | games/backgammon/common_source/back.h | 6 |
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 */ |