]> git.ipfire.org Git - thirdparty/bind9.git/commit
fix typing mistakes in trace macros
authorAydın Mercan <aydin@isc.org>
Fri, 17 May 2024 13:45:10 +0000 (16:45 +0300)
committerEvan Hunt <each@isc.org>
Sat, 18 May 2024 01:11:23 +0000 (18:11 -0700)
commit49e62ee1861b4f7fdf1be4ed50c7b0bef9d629f0
treeedc2ee182f511a50e62bc5d390e05679ea306c39
parent5972a80714c9e039a4e1425a38e739100a729d9f
fix typing mistakes in trace macros

The detach function declaration in `ISC__REFCOUNT_TRACE_DECL` had an
returned an accidental implicit int. While not allowed since C99, it
became an error by default in GCC 14.

`ISC_REFCOUNT_TRACE_IMPL` and `ISC_REFCOUNT_STATIC_TRACE_IMPL` expanded
into the wrong macros, trying to declare it again with the wrong number
of parameters.
lib/isc/include/isc/refcount.h