aboutsummaryrefslogtreecommitdiff
path: root/games/backgammon/common_source/back.h
diff options
context:
space:
mode:
authorJohn Birrell <jb@FreeBSD.org>1998-05-09 09:18:33 +0000
committerJohn Birrell <jb@FreeBSD.org>1998-05-09 09:18:33 +0000
commit3c3b8f6caa8dcc56163f329de1d23661e5b37e0e (patch)
tree52cbf71270881ab2093c49e63e831c54bfd740db /games/backgammon/common_source/back.h
parent49778f39ac498abd777abd9513f59d693a5358f9 (diff)
downloadsrc-3c3b8f6caa8dcc56163f329de1d23661e5b37e0e.tar.gz
src-3c3b8f6caa8dcc56163f329de1d23661e5b37e0e.zip
Add 'extern' to those arrays that are declared and initialised
in other files.
Notes
Notes: svn path=/head/; revision=35864
Diffstat (limited to 'games/backgammon/common_source/back.h')
-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 136938c73c7d..01003a692146 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 */