]> granicus.if.org Git - nethack/commitdiff
symbol bit (trunk only)
authornethack.allison <nethack.allison>
Sat, 7 Oct 2006 23:06:35 +0000 (23:06 +0000)
committernethack.allison <nethack.allison>
Sat, 7 Oct 2006 23:06:35 +0000 (23:06 +0000)
Ensure that the symset struct is defined before
external declaration using it.

include/decl.h
src/options.c

index ede0875790a2f2760577906d3bdec2154729b37b..37a3489d60d33067786961dc99c8cbca94a25a59 100644 (file)
@@ -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,
index 20cc5d1acbc0190e379fc2302c1f47a6c2af7f99..a09489339b70995e7fa6fa7e4edbc872dbba42c0 100644 (file)
@@ -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)