]> git.ipfire.org Git - thirdparty/haproxy.git/commit
CLEANUP: proxy: fix duplicate declaration of cli_find_frontend in proxy.h
authorWilly Tarreau <w@1wt.eu>
Fri, 15 May 2026 08:36:53 +0000 (08:36 +0000)
committerWilly Tarreau <w@1wt.eu>
Fri, 15 May 2026 16:24:57 +0000 (18:24 +0200)
commit9ebb00e673a9dea0302d8fb8605bc47ae6d4af22
tree89960b27c12989204062e04e56aab079e90d2d29
parent34606261485f2e025cb7df82d91283bc9b1f1760
CLEANUP: proxy: fix duplicate declaration of cli_find_frontend in proxy.h

The function cli_find_frontend was declared twice identically at lines 98-99
of include/haproxy/proxy.h. The second declaration should have been for
cli_find_backend, which is defined in src/proxy.c and used in several places
but was missing from the header's exported symbols.

This is a simple copy-paste mistake where line 99 duplicated line 98 verbatim
instead of declaring cli_find_backend.
include/haproxy/proxy.h