]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
alloc-util: introduce mfree_func_type_t
authorYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 18 Feb 2022 06:24:23 +0000 (15:24 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 11 Mar 2022 01:24:08 +0000 (10:24 +0900)
src/basic/alloc-util.h

index 65d517561931f08883ddccfadaec27c922ede4f1..57f1b186ee8c0a42670471a5faee1915d9416287 100644 (file)
@@ -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. */