/* Memory allocator `malloc'. */
-/* 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. */
mmorecore(mdp, adj);
result = (char *) result + adj;
}
- return (result);
+ return result;
}
/** Initialize heapinfo about the heapinfo pages :)
}
mdp->heaplimit = BLOCK((char *) result + size);
- return (result);
+ return result;
}
/* Allocate memory from the heap. */
}
- return (result);
+ return result;
}