]> AND Public Git Repository - simgrid.git/blobdiff - src/include/xbt/mmalloc.h
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Implement a (cheap) ActorImpl::is_maestro()
[simgrid.git] / src / include / xbt / mmalloc.h
index 8e879e3c63da1576b955ffe9e91bb9f21ede5593..33235944a6400a1f3a27ba6eac8c59af7a99d521 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (c) 2010-2019. The SimGrid Team. All rights reserved.          */
+/* Copyright (c) 2010-2021. The SimGrid Team. All rights reserved.          */
 
 /* This program is free software; you can redistribute it and/or modify it
  * under the terms of the license (GNU LGPL) which comes with this package. */
@@ -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);