Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[sonar] Another bunch of const qualifiers.
[simgrid.git] / src / xbt / mmalloc / mmorecore.c
index e28edb7..54650ed 100644 (file)
@@ -50,7 +50,7 @@
                              ? 0                                           \
                              : off)
 
-/** @brief Add memoty to this heap
+/** @brief Add memory to this heap
  *
  *  Get core for the memory region specified by MDP, using SIZE as the
  *  amount to either add to or subtract from the existing region.  Works
@@ -145,7 +145,7 @@ void *mmorecore(struct mdesc *mdp, ssize_t size)
   return (result);
 }
 
-void *__mmalloc_remap_core(xbt_mheap_t mdp)
+void* __mmalloc_remap_core(const s_xbt_mheap_t* mdp)
 {
   /* FIXME:  Quick hack, needs error checking and other attention. */