From: nhmall Date: Wed, 26 Feb 2020 03:56:50 +0000 (-0500) Subject: fix a couple of warnings seen on visual studio 2019 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1003a8142ef8a019e16a40dda01c6e0cfc8933aa;p=nethack fix a couple of warnings seen on visual studio 2019 src/sp_lev.c(4278): warning C4113: 'int (__cdecl *)()' differs in parameter lists from 'int(__cdecl *)(int,int)' src/sp_lev.c(5021): warning C4113: 'int (__cdecl *)()' differs in parameter lists from 'int (__cdecl *)(int,int)' --- diff --git a/src/sp_lev.c b/src/sp_lev.c old mode 100644 new mode 100755 index 3d638e035..811dd1685 --- a/src/sp_lev.c +++ b/src/sp_lev.c @@ -97,6 +97,8 @@ static int FDECL(get_coord, (lua_State *, int, int *, int *)); static int FDECL(get_table_region, (lua_State *, const char *, int *, int *, int *, int *, BOOLEAN_P)); static void FDECL(set_wallprop_in_selection, (lua_State *, int)); +static int FDECL(floodfillchk_match_under, (int, int)); +static int FDECL(floodfillchk_match_accessible, (int, int)); /* lua_CFunction prototypes */ int FDECL(lspo_altar, (lua_State *));