diff options
author | jb <jb@FreeBSD.org> | 1998-05-09 09:38:11 +0000 |
---|---|---|
committer | jb <jb@FreeBSD.org> | 1998-05-09 09:38:11 +0000 |
commit | 85a011c31affd90a1a5206c60a19e859f6e2c4d7 (patch) | |
tree | bb791469b205afdc9ca02411979aff5c7ea899b2 /games | |
parent | c422df494380b3de644ed61d8a242dba90e228bf (diff) | |
download | FreeBSD-src-85a011c31affd90a1a5206c60a19e859f6e2c4d7.zip FreeBSD-src-85a011c31affd90a1a5206c60a19e859f6e2c4d7.tar.gz |
Add 'extern' to arrays that are declared and initialised elsewhere.
Diffstat (limited to 'games')
-rw-r--r-- | games/battlestar/externs.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/games/battlestar/externs.h b/games/battlestar/externs.h index 692f267..d0ee589 100644 --- a/games/battlestar/externs.h +++ b/games/battlestar/externs.h @@ -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; |