]> git.ipfire.org Git - thirdparty/bind9.git/commit
Replace (void *)-1 with ISC_LINK_TOMBSTONE
authorOndřej Surý <ondrej@isc.org>
Tue, 18 Oct 2022 09:28:03 +0000 (11:28 +0200)
committerOndřej Surý <ondrej@isc.org>
Tue, 18 Oct 2022 09:36:15 +0000 (11:36 +0200)
commit5e20c2ccfb3a2aaad6ead581a1801e6289a00e5d
tree359d91d6a2063ed8cd53cfde8f488b376729234c
parentcb3c36b8bf926e208b9817926d40cf7956f34b67
Replace (void *)-1 with ISC_LINK_TOMBSTONE

Instead of having "arbitrary" (void *)-1 to define non-linked, add a
ISC_LINK_TOMBSTONE(type) macro that replaces the "magic" value with a
define.
lib/isc/include/isc/list.h