From a7c143c8f9452030f9fce5886706f800d01166b6 Mon Sep 17 00:00:00 2001 From: nhmall Date: Tue, 25 Feb 2020 21:37:10 -0500 Subject: [PATCH] fix a pair of warnings received with visual studio 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)' Add prototype prior to first reference --- src/sp_lev.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/sp_lev.c b/src/sp_lev.c index 3d638e035..811dd1685 100644 --- 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 *));