REORG: config: uninline warnifnotcap() and failifnotcap()
authorWilly Tarreau <w@1wt.eu>
Sat, 8 May 2021 17:58:37 +0000 (19:58 +0200)
committerWilly Tarreau <w@1wt.eu>
Sat, 8 May 2021 18:27:08 +0000 (20:27 +0200)
commit08138612a423c8205a4163925a5ad0859211e87e
treeaf5424a5c5d1277bc96e73e729591896c1c9847f
parent6ec1f25bc5861f45f3295628912c675ecdb70e30
REORG: config: uninline warnifnotcap() and failifnotcap()

These ones are used by virtually every config parser. Not only they
provide no benefit in being inlined, but they imply a very deep
dependency starting at proxy.h, which results for example in task.c
including openssl.

Let's move these two functions to cfgparse.c.
include/haproxy/cfgparse.h
src/cfgparse.c