]> git.ipfire.org Git - thirdparty/bind9.git/commit
chg:nil: Cleanup the isc_counter unit
authorOndřej Surý <ondrej@isc.org>
Fri, 21 Feb 2025 09:51:49 +0000 (09:51 +0000)
committerOndřej Surý <ondrej@isc.org>
Fri, 21 Feb 2025 09:51:49 +0000 (09:51 +0000)
commit7471ef5e1a6afda1c048a46aefe8fd6f7600890d
tree65afa30c242d1b854576cd8d11dddad69f27f021
parentf0785fedf1f00f2f63afa7517860516e2e180961
parent77ec2a6c22e8981e58f55b01457ffdba561703b0
chg:nil: Cleanup the isc_counter unit

The isc_counter_create() doesn't need the return value (it was always
ISC_R_SUCCESS), use the macros to implement the reference counting,
little style cleanup, and expand the unit test.

Merge branch 'ondrej/cleanup-isc_counter-unit' into 'main'

See merge request isc-projects/bind9!10126