From: Aydın Mercan Date: Mon, 25 Aug 2025 12:08:44 +0000 (+0300) Subject: fix: dev: switch bit rotation functions to statement expressions X-Git-Tag: v9.21.12~28 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=160bc1a1984df6028fa7b8c18808ab5b394d4154;p=thirdparty%2Fbind9.git fix: dev: switch bit rotation functions to statement expressions 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 --- 160bc1a1984df6028fa7b8c18808ab5b394d4154