From 026e5892936664e3695fc345a23f27b11384a631 Mon Sep 17 00:00:00 2001 From: Arnaud Giersch Date: Tue, 3 Apr 2018 14:26:56 +0200 Subject: [PATCH 1/1] Please sonar: use s_xbt_mheap_t. --- src/include/xbt/mmalloc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/include/xbt/mmalloc.h b/src/include/xbt/mmalloc.h index ab6ca00e2a..54cbd1945a 100644 --- a/src/include/xbt/mmalloc.h +++ b/src/include/xbt/mmalloc.h @@ -27,7 +27,7 @@ SG_BEGIN_DECL() * The heap structure itself is an opaque object that shouldnt be messed with. */ typedef struct mdesc s_xbt_mheap_t; -typedef struct mdesc* xbt_mheap_t; +typedef s_xbt_mheap_t* xbt_mheap_t; /* Allocate SIZE bytes of memory (and memset it to 0). */ XBT_PUBLIC void* mmalloc(xbt_mheap_t md, size_t size); -- 2.20.1