]> git.ipfire.org Git - thirdparty/haproxy.git/commit
CLEANUP: freq_ctr: make all freq_ctr readers take a const
authorWilly Tarreau <w@1wt.eu>
Fri, 29 Sep 2023 06:48:36 +0000 (08:48 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 29 Sep 2023 07:20:27 +0000 (09:20 +0200)
commit48b2233d3632141344732c93f70a3601cbc566a4
tree5d8eb10199dd800c601b8e86f79ff233665a8814
parent7cf9cf705ed0284ac1160adb66be19c1d57986a9
CLEANUP: freq_ctr: make all freq_ctr readers take a const

Since 2.4-dev18 with commit b4476c6a8 ("CLEANUP: freq_ctr: make
arguments of freq_ctr_total() const"), most of the freq_ctr readers
should be fine with a const, except that they were not updated to
reflect this and they continue to force variable on some functions
that call them. Let's update this. This could even be backported if
needed.
include/haproxy/freq_ctr.h