]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUILD: ebtree: make eb_is_empty() and eb_is_dup() take a const
authorWilly Tarreau <w@1wt.eu>
Wed, 2 Oct 2019 13:21:58 +0000 (15:21 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 2 Oct 2019 13:24:19 +0000 (15:24 +0200)
commit43be340a0e4d9194ea06514d8d5cfb6964381dfc
tree1cc1f51ead2185e14de22348a7931ce4fb285a0e
parent9edf6dbecc9d50d3ab3764b307010a627e39117c
BUILD: ebtree: make eb_is_empty() and eb_is_dup() take a const

For whatever absurd reason these ones do not take a const, resulting in
some haproxy functions being forced to confusingly use variables instead
of const arguments. Let's fix this and backport it to older versions.
ebtree/ebtree.h