Add 'extern' to arrays that are declared and initialised elsewhere.

This commit is contained in:
jb 1998-05-09 09:38:11 +00:00
parent d2d7262333
commit 19b47e9a95

View File

@ -231,8 +231,8 @@ struct room {
char *desc;
int objects[NUMOFWORDS];
};
struct room dayfile[];
struct room nightfile[];
extern struct room dayfile[];
extern struct room nightfile[];
struct room *location;
/* object characteristics */
@ -292,13 +292,13 @@ struct wlist {
#define HASHMUL 81
#define HASHMASK (HASHSIZE - 1)
struct wlist *hashtab[HASHSIZE];
struct wlist wlist[];
extern struct wlist wlist[];
struct objs {
short room;
short obj;
};
struct objs dayobjs[];
struct objs nightobjs[];
extern struct objs dayobjs[];
extern struct objs nightobjs[];
gid_t egid;