(rpt, page_headings): Declare with array size. Define without.
(empfile): Correctly initialize members cids, csize, fids for all EFF_STATIC tables except EF_SHIP_CHR, EF_PLANE_CHR, EF_LAND_CHR, EF_NUKE_CHR, EF_META and the symbol tables.
This commit is contained in:
parent
ef48271974
commit
b96b9baced
3 changed files with 16 additions and 23 deletions
|
@ -164,7 +164,7 @@ struct rptstr {
|
|||
#define getnewsp(n) \
|
||||
(struct nwsstr *) ef_ptr(EF_NEWS, n)
|
||||
|
||||
extern struct rptstr rpt[];
|
||||
extern char *page_headings[];
|
||||
extern struct rptstr rpt[N_MAX_VERB + 2];
|
||||
extern char *page_headings[N_MAX_PAGE + 1];
|
||||
|
||||
#endif /* _NEWS_H_ */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue