]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
fix: dev: switch bit rotation functions to statement expressions
authorAydın Mercan <aydin@isc.org>
Mon, 25 Aug 2025 12:08:44 +0000 (15:08 +0300)
committerAydın Mercan <aydin@isc.org>
Mon, 25 Aug 2025 12:08:44 +0000 (15:08 +0300)
Using `static inline` functions in the headers break gcov as it cannot
properly track the hits. To fix the issue, convert the expressions to
statement macros. The added static assertions will ensure integer
promotion cannot occur unlike its previous function counterpart.

Merge branch 'aydin/rotate-as-macro' into 'main'

See merge request isc-projects/bind9!10878


Trivial merge