Re: [PATCH v2 2/3] CLEANUP: Add missing header to hlua_fcn.c

2022-05-17 Thread Willy Tarreau
On Sat, May 14, 2022 at 10:17:25PM +0200, Tim Duesterhus wrote:
> Found with -Wmissing-prototypes:
(...)

All the series merged (with v2), thank you Tim!
Willy



[PATCH v2 2/3] CLEANUP: Add missing header to hlua_fcn.c

2022-05-14 Thread Tim Duesterhus
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.
---
 src/hlua_fcn.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/hlua_fcn.c b/src/hlua_fcn.c
index 4c16d90a8..5907d4855 100644
--- a/src/hlua_fcn.c
+++ b/src/hlua_fcn.c
@@ -26,6 +26,7 @@
 #include 
 #include 
 #include 
+#include 
 #include 
 #include 
 #include 
-- 
2.36.1