]> 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 12:30:43 +0000 (14:30 +0200)
commit6525ebc7777ed1cacd6bc6f9190e4f0572d62bf3
treeaa7d1fc455b29cf392ccf16436a30c07588af75f
parent8efe60d42351653671df9c1dc6f1dfcf2ed081d8
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.

(cherry picked from commit 5e20c2ccfb3a2aaad6ead581a1801e6289a00e5d)
lib/isc/include/isc/list.h