From: Arnaud Giersch Date: Tue, 3 Apr 2018 12:26:56 +0000 (+0200) Subject: Please sonar: use s_xbt_mheap_t. X-Git-Tag: v3.20~538 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/026e5892936664e3695fc345a23f27b11384a631?hp=5b32cb6c9e9d1a905edc9853a22891e5eb8b5468;ds=sidebyside Please sonar: use s_xbt_mheap_t. --- 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);