]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUILD: proxy: unstatify the proxies_del_lock to avoid a warning without threads
authorWilly Tarreau <w@1wt.eu>
Thu, 21 May 2026 07:03:03 +0000 (09:03 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 21 May 2026 07:03:03 +0000 (09:03 +0200)
commit3475a5bb9f12fa5ca736d54d0cf1e0ecb3f13ce6
tree476672178e5fb1fc439f554a85470bded6af272b
parent050e06dd669adb7dd867a3c429c4186e44694638
BUILD: proxy: unstatify the proxies_del_lock to avoid a warning without threads

When threads are disabled, "static __decl_spinlock(foo);" ends up as
"static;", causing a build warning when threads are disabled. We don't
need it to be static so let's drop "static" here. No backport is needed,
this is 3.4-only.
src/proxy.c