Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Update copyright lines with new year.
[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-2020. 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 #define _GNU_SOURCE
16 #include "src/internal_config.h"
17 #if HAVE_UNISTD_H
18 #include <unistd.h>             /* Prototypes for lseek, sbrk (maybe) */
19 #endif
20
21 #include "swag.c"
22 #include "mfree.c"
23 #include "mmalloc.c"
24 #include "mrealloc.c"
25 #include "mmorecore.c"
26 #include "mm_legacy.c"
27 #include "mm_module.c"