]> git.ipfire.org Git - thirdparty/bind9.git/commit
Forward declare mallocx in isc/mem.h
authorAydın Mercan <aydin@isc.org>
Thu, 4 Jan 2024 07:40:54 +0000 (10:40 +0300)
committerOndřej Surý <ondrej@isc.org>
Thu, 18 Jan 2024 08:34:36 +0000 (09:34 +0100)
commit197de93bdc8eb5cc4dd18e0812cbb87c2ed7fa61
tree77a4de39affc4a944e014576d9ef9eb26cfab2b0
parent41a0ee10717a5afaa2bfdd0225245feecc09eea9
Forward declare mallocx in isc/mem.h

cmocka.h and jemalloc.h/malloc_np.h has conflicting macro definitions.
While fixing them with push_macro for only malloc is done below, we only
need the non-standard mallocx interface which is easy to just define by
ourselves.
lib/isc/include/isc/mem.h