]> git.kaiwu.me - haproxy.git/commit
CLEANUP: stats: drop stats.h / stats-t.h where not needed
authorWilly Tarreau <w@1wt.eu>
Tue, 24 Feb 2026 18:31:51 +0000 (19:31 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 26 Feb 2026 07:24:03 +0000 (08:24 +0100)
commit56fc12d6fab5957088a3814d1a21d3f4dd8280cc
tree9937453227a66e113ca664d867bc92486024e351
parent2b463e9b1f7d480986105d0f4c3bb3397f08bf0a
CLEANUP: stats: drop stats.h / stats-t.h where not needed

A number of C files include stats.h or stats-t.h, many of which were
just to access the counters. Now those which really need counters rely
on counters.h or counters-t.h, which already reduces the amount of
preprocessed code to be built (~3000 lines or about 0.05%).
21 files changed:
include/haproxy/dns-t.h
include/haproxy/listener-t.h
include/haproxy/proxy-t.h
include/haproxy/resolvers-t.h
include/haproxy/ssl_sock.h
src/cfgparse-listen.c
src/cfgparse.c
src/check.c
src/cli.c
src/h3.c
src/haproxy.c
src/hlua.c
src/map.c
src/peers.c
src/pool.c
src/quic_sock.c
src/quic_ssl.c
src/resolvers.c
src/stick_table.c
src/stream.c
src/uri_auth.c