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
I don't need an extra file just to define calloc when it can be inlined that easily
[simgrid.git]
/
include
/
xbt
/
mmalloc.h
diff --git
a/include/xbt/mmalloc.h
b/include/xbt/mmalloc.h
index
53d0c84
..
a9d33ee
100644
(file)
--- a/
include/xbt/mmalloc.h
+++ b/
include/xbt/mmalloc.h
@@
-34,9
+34,6
@@
extern void *mmalloc(xbt_mheap_t md, size_t size);
SIZE bytes long. */
extern void *mrealloc(xbt_mheap_t md, void *ptr, size_t size);
SIZE bytes long. */
extern void *mrealloc(xbt_mheap_t md, void *ptr, size_t size);
-/* Allocate NMEMB elements of SIZE bytes each, all initialized to 0. */
-extern void *mcalloc(xbt_mheap_t md, size_t nmemb, size_t size);
-
/* Free a block allocated by `mmalloc', `mrealloc' or `mcalloc'. */
extern void mfree(xbt_mheap_t md, void *ptr);
/* Free a block allocated by `mmalloc', `mrealloc' or `mcalloc'. */
extern void mfree(xbt_mheap_t md, void *ptr);