From ee3a6cab09c8acaf6706b3710f5652e9be43b57e Mon Sep 17 00:00:00 2001 From: Mariusz Tkaczyk Date: Wed, 25 Sep 2024 13:16:10 +0200 Subject: mdadm: add xmalloc.h Move memory declaration helpers outside mdadm.h. They seems to be useful so keep them but include separatelly. Rework them to not reffer to Name[] declared internally in mdadm/mdmon. This is first step to start decomplexing mdadm.h. Signed-off-by: Mariusz Tkaczyk --- msg.c | 1 + 1 file changed, 1 insertion(+) (limited to 'msg.c') diff --git a/msg.c b/msg.c index b6da91d3..0cc7fc5d 100644 --- a/msg.c +++ b/msg.c @@ -30,6 +30,7 @@ #include #include "mdadm.h" #include "mdmon.h" +#include "xmalloc.h" static const __u32 start_magic = 0x5a5aa5a5; static const __u32 end_magic = 0xa5a55a5a; -- cgit v1.2.3