From 97600f584f9340eece3cf9d01cccbf568028bd45 Mon Sep 17 00:00:00 2001 From: John Birrell Date: Sat, 9 May 1998 09:27:33 +0000 Subject: [PATCH] Add 'extern' to arrays that are declared and initialised in other files. --- games/backgammon/teachgammon/teach.c | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/games/backgammon/teachgammon/teach.c b/games/backgammon/teachgammon/teach.c index 93807df55e11..9921cbe3cf43 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 #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 */