From: Yu Watanabe Date: Fri, 18 Feb 2022 06:24:23 +0000 (+0900) Subject: alloc-util: introduce mfree_func_type_t X-Git-Tag: v251-rc1~164^2~11 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5b25bdd1a3a46941b3047b8efd70c6ca479f5bab;p=thirdparty%2Fsystemd.git alloc-util: introduce mfree_func_type_t --- diff --git a/src/basic/alloc-util.h b/src/basic/alloc-util.h index 65d51756193..57f1b186ee8 100644 --- a/src/basic/alloc-util.h +++ b/src/basic/alloc-util.h @@ -13,6 +13,7 @@ #endif typedef void (*free_func_t)(void *p); +typedef void* (*mfree_func_t)(void *p); /* If for some reason more than 4M are allocated on the stack, let's abort immediately. It's better than * proceeding and smashing the stack limits. Note that by default RLIMIT_STACK is 8M on Linux. */