A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update copyright lines for 2022.
[simgrid.git]
/
src
/
include
/
xbt
/
mmalloc.h
diff --git
a/src/include/xbt/mmalloc.h
b/src/include/xbt/mmalloc.h
index
9f2402c
..
f2b85ac
100644
(file)
--- a/
src/include/xbt/mmalloc.h
+++ b/
src/include/xbt/mmalloc.h
@@
-1,4
+1,4
@@
-/* Copyright (c) 2010-202
0
. The SimGrid Team. All rights reserved. */
+/* Copyright (c) 2010-202
2
. 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. */
/* 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);
/* 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
#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);
XBT_PUBLIC void xbt_mheap_destroy_no_free(xbt_mheap_t md);