Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[mc] Fix mm_fake_malloc() implementation
[simgrid.git] / src / xbt / mmalloc / mm.c
1 /* Build the entire mmalloc library as a single object module. This
2    avoids having clients pick up part of their allocation routines
3    from mmalloc and part from libc, which results in undefined
4    behavior.  It should also still be possible to build the library
5    as a standard library with multiple objects. */
6
7 /* Copyright (c) 2010, 2012-2014. The SimGrid Team.
8  * All rights reserved.                                                     */
9
10 /* This program is free software; you can redistribute it and/or modify it
11  * under the terms of the license (GNU LGPL) which comes with this package. */
12
13 /* Copyright 1996, 2000 Free Software Foundation  */
14
15 #ifdef HAVE_UNISTD_H
16 #include <unistd.h>             /* Prototypes for lseek, sbrk (maybe) */
17 #endif
18 #include "mfree.c"
19 #include "mmalloc.c"
20 #include "mrealloc.c"
21 #include "mmorecore.c"
22 #include "mm_legacy.c"
23 #include "mm_module.c"