From: Tim Duesterhus Date: Sat, 14 May 2022 20:17:25 +0000 (+0200) Subject: CLEANUP: Add missing header to hlua_fcn.c X-Git-Tag: v2.6-dev11~98 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6eded62f6a7af52b17c9c8ecb7a403deb930610c;p=thirdparty%2Fhaproxy.git CLEANUP: Add missing header to hlua_fcn.c Found with -Wmissing-prototypes: src/hlua_fcn.c:53:5: fatal error: no previous prototype for function 'hlua_checkboolean' [-Wmissing-prototypes] int hlua_checkboolean(lua_State *L, int index) ^ src/hlua_fcn.c:53:1: note: declare 'static' if the function is not intended to be used outside of this translation unit int hlua_checkboolean(lua_State *L, int index) ^ static 1 error generated. --- diff --git a/src/hlua_fcn.c b/src/hlua_fcn.c index 4c16d90a87..5907d48557 100644 --- a/src/hlua_fcn.c +++ b/src/hlua_fcn.c @@ -26,6 +26,7 @@ #include #include #include +#include #include #include #include