]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUILD: http_rules: do not declare http_*_keywords_registre() inline
authorWilly Tarreau <w@1wt.eu>
Wed, 2 Mar 2022 13:50:38 +0000 (14:50 +0100)
committerWilly Tarreau <w@1wt.eu>
Wed, 2 Mar 2022 13:50:38 +0000 (14:50 +0100)
commit368479c3fc2183423b777e91e2770035dcc21705
tree1c43b16f63365bd1c09e573d2ad77f6dd142ec79
parentd318e4e0220ec090798baa1ce978f8a5ba071af4
BUILD: http_rules: do not declare http_*_keywords_registre() inline

The 3 functions http_{req,res,after_res}_keywords_register() are
referenced in initcalls by their pointer, it makes no sense to declare
them inline. At best it causes function duplication, at worst it doesn't
build on older compilers.
include/haproxy/http_rules.h
src/http_rules.c