]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUILD/MINOR: lua: ensure that hlua_ctx_destroy is properly defined
authorWilly Tarreau <w@1wt.eu>
Wed, 17 Jun 2015 18:18:54 +0000 (20:18 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 17 Jun 2015 18:18:54 +0000 (20:18 +0200)
commitce7b4def7415be6dad293db08f39650ce24c3827
treefd2dba445bec43eddb79dac3b542753ca804aab2
parentb7636d1a100419b3e88f7de4b2eea32f8351eb73
BUILD/MINOR: lua: ensure that hlua_ctx_destroy is properly defined

When Lua is disabled, the alternate functions must have the same
prototype as the original ones, otherwise we get such warnings :

src/stream.c:278:27: warning: too many arguments in call to 'hlua_ctx_destroy'
        hlua_ctx_destroy(&s->hlua);
        ~~~~~~~~~~~~~~~~         ^
No backport is needed.
include/proto/hlua.h