Add 'extern' to arrays that are declared and initialised in other files.

This commit is contained in:
John Birrell 1998-05-09 09:27:33 +00:00
parent 99dd1e3479
commit 97600f584f
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=35870

View File

@ -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 */