diff options
author | jb <jb@FreeBSD.org> | 1998-05-09 09:27:33 +0000 |
---|---|---|
committer | jb <jb@FreeBSD.org> | 1998-05-09 09:27:33 +0000 |
commit | 9e9eb5452f2468a691a840876983a24f05cc5fdd (patch) | |
tree | f0188bec143359b8dba29e253e270e2cb055cff2 /games | |
parent | 936a497f2c1dfa1871f018181fc7b1d6ab6f9d44 (diff) | |
download | FreeBSD-src-9e9eb5452f2468a691a840876983a24f05cc5fdd.zip FreeBSD-src-9e9eb5452f2468a691a840876983a24f05cc5fdd.tar.gz |
Add 'extern' to arrays that are declared and initialised in other files.
Diffstat (limited to 'games')
-rw-r--r-- | games/backgammon/teachgammon/teach.c | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/games/backgammon/teachgammon/teach.c b/games/backgammon/teachgammon/teach.c index 93807df..9921cbe 100644 --- a/games/backgammon/teachgammon/teach.c +++ b/games/backgammon/teachgammon/teach.c @@ -46,18 +46,18 @@ static char sccsid[] = "@(#)teach.c 8.1 (Berkeley) 5/31/93"; #include <unistd.h> #include "back.h" -char *hello[]; -char *list[]; -char *intro1[]; -char *intro2[]; -char *moves[]; -char *remove[]; -char *hits[]; -char *endgame[]; -char *doubl[]; -char *stragy[]; -char *prog[]; -char *lastch[]; +extern char *hello[]; +extern char *list[]; +extern char *intro1[]; +extern char *intro2[]; +extern char *moves[]; +extern char *remove[]; +extern char *hits[]; +extern char *endgame[]; +extern char *doubl[]; +extern char *stragy[]; +extern char *prog[]; +extern char *lastch[]; extern char ospeed; /* tty output speed for termlib */ |