Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Parameter 'fd' is always -1 for xbt_mheap_new. Kill dead code.
[simgrid.git] / src / include / xbt / mmalloc.h
index bd70114..3323594 100644 (file)
@@ -41,11 +41,9 @@ XBT_PUBLIC void* mrealloc(xbt_mheap_t md, void* ptr, size_t size);
 /* Free a block allocated by `mmalloc', `mrealloc' or `mcalloc'.  */
 XBT_PUBLIC void mfree(xbt_mheap_t md, void* ptr);
 
-XBT_PUBLIC xbt_mheap_t xbt_mheap_new(int fd, void* baseaddr);
-
 #define XBT_MHEAP_OPTION_MEMSET 1
 
-XBT_PUBLIC xbt_mheap_t xbt_mheap_new_options(int fd, void* baseaddr, int options);
+XBT_PUBLIC xbt_mheap_t xbt_mheap_new(void* baseaddr, int options);
 
 XBT_PUBLIC void xbt_mheap_destroy_no_free(xbt_mheap_t md);