X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/149c63f36e15b8500b1e826bda5138318ff7ba2b..ea74f5d95928a521a588737e81f1de94eef25d19:/src/include/xbt/mmalloc.h?ds=sidebyside diff --git a/src/include/xbt/mmalloc.h b/src/include/xbt/mmalloc.h index 9f2402c620..f2b85acfbd 100644 --- a/src/include/xbt/mmalloc.h +++ b/src/include/xbt/mmalloc.h @@ -1,4 +1,4 @@ -/* Copyright (c) 2010-2020. The SimGrid Team. All rights reserved. */ +/* Copyright (c) 2010-2022. 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);