]> granicus.if.org Git - nethack/commitdiff
quiet a couple of warnings
authornhmall <nhmall@nethack.org>
Mon, 27 Jan 2020 15:54:39 +0000 (10:54 -0500)
committernhmall <nhmall@nethack.org>
Mon, 27 Jan 2020 15:54:39 +0000 (10:54 -0500)
..\src\nhlua.c(893): warning C4113: 'int (__cdecl *)()' differs in parameter lists from 'lua_CFunction'
..\src\nhlua.c(894): warning C4113: 'int (__cdecl *)()' differs in parameter lists from 'lua_CFunction'

src/nhlua.c

index bafefbfc28f2f2895797606771479fd9e4d6f26d..2e9729195a291a86c89fe11eb9f9593e1472d29d 100644 (file)
@@ -32,6 +32,8 @@ static int FDECL(nhl_ing_suffix, (lua_State *));
 static int FDECL(nhl_an, (lua_State *));
 static int FDECL(nhl_meta_u_index, (lua_State *));
 static int FDECL(nhl_meta_u_newindex, (lua_State *));
+static int FDECL(nhl_u_clear_inventory, (lua_State *));
+static int FDECL(nhl_u_giveobj, (lua_State *));
 static int FDECL(traceback_handler, (lua_State *));
 
 void