]> git.ipfire.org Git - thirdparty/haproxy.git/commit
CLEANUP: Add missing header to hlua_fcn.c
authorTim Duesterhus <tim@bastelstu.be>
Sat, 14 May 2022 20:17:25 +0000 (22:17 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 17 May 2022 09:40:33 +0000 (11:40 +0200)
commit6eded62f6a7af52b17c9c8ecb7a403deb930610c
treee952bd1f7a4450b0dbc828588ce75c41001e713e
parent2a0688aa8942af162450beb0b87c45d6945f47b4
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.
src/hlua_fcn.c