Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
who needs aligned mallocs anyway?
[simgrid.git] / src / xbt / mmalloc / mmprivate.h
index 123b627..5396e55 100644 (file)
@@ -103,16 +103,7 @@ typedef union {
   } free;
 } malloc_info;
 
-/* List of blocks allocated with `mmemalign' (or `mvalloc').  */
-
-struct alignlist {
-  struct alignlist *next;
-  void *aligned;                /* The address that mmemaligned returned.  */
-  void *exact;                  /* The address that malloc returned.  */
-};
-
 /* Doubly linked lists of free fragments.  */
-
 struct list {
   struct list *next;
   struct list *prev;
@@ -218,14 +209,9 @@ extern void __mmalloc_free(struct mdesc *mdp, void *ptr);
 
 extern struct mdesc *__mmalloc_default_mdp;
 
-/* Initialize the first use of the default malloc descriptor, which uses
-   an sbrk() region. */
-
-extern struct mdesc *__mmalloc_create_default_mdp(void);
-
 /* Remap a mmalloc region that was previously mapped. */
 
-extern void *__mmalloc_remap_core(struct mdesc *mdp);
+extern void *__mmalloc_remap_core(xbt_mheap_t mdp);
 
 /*  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