From 2c5d46fbd745aa29f79f6b50c86bb9cb036d6e32 Mon Sep 17 00:00:00 2001 From: "nethack.allison" Date: Sat, 7 Oct 2006 23:06:35 +0000 Subject: [PATCH] symbol bit (trunk only) Ensure that the symset struct is defined before external declaration using it. --- include/decl.h | 2 -- src/options.c | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/include/decl.h b/include/decl.h index ede087579..37a3489d6 100644 --- a/include/decl.h +++ b/include/decl.h @@ -269,8 +269,6 @@ E NEARDATA struct mvitals { uchar mvflags; } mvitals[NUMMONS]; -E struct symparse loadsyms[]; - E NEARDATA struct c_color_names { const char *const c_black, *const c_amber, *const c_golden, *const c_light_blue,*const c_red, *const c_green, diff --git a/src/options.c b/src/options.c index 20cc5d1ac..a09489339 100644 --- a/src/options.c +++ b/src/options.c @@ -387,6 +387,7 @@ static struct Comp_Opt #else /* use rest of file */ +extern struct symparse loadsyms[]; static boolean need_redraw; /* for doset() */ #if defined(TOS) && defined(TEXTCOLOR) -- 2.40.0