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 with new year.
[simgrid.git]
/
src
/
xbt
/
mmalloc
/
mm.c
diff --git
a/src/xbt/mmalloc/mm.c
b/src/xbt/mmalloc/mm.c
index
33de568
..
3f31adf
100644
(file)
--- a/
src/xbt/mmalloc/mm.c
+++ b/
src/xbt/mmalloc/mm.c
@@
-4,7
+4,7
@@
behavior. It should also still be possible to build the library
as a standard library with multiple objects. */
behavior. It should also still be possible to build the library
as a standard library with multiple objects. */
-/* Copyright (c) 2010
, 2012-2014
. The SimGrid Team.
+/* Copyright (c) 2010
-2020
. The SimGrid Team.
* All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
* All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
@@
-12,13
+12,16
@@
/* Copyright 1996, 2000 Free Software Foundation */
/* Copyright 1996, 2000 Free Software Foundation */
-#ifdef HAVE_UNISTD_H
+#define _GNU_SOURCE
+#include "src/internal_config.h"
+#if HAVE_UNISTD_H
#include <unistd.h> /* Prototypes for lseek, sbrk (maybe) */
#endif
#include <unistd.h> /* Prototypes for lseek, sbrk (maybe) */
#endif
+
+#include "swag.c"
#include "mfree.c"
#include "mmalloc.c"
#include "mrealloc.c"
#include "mmorecore.c"
#include "mm_legacy.c"
#include "mm_module.c"
#include "mfree.c"
#include "mmalloc.c"
#include "mrealloc.c"
#include "mmorecore.c"
#include "mm_legacy.c"
#include "mm_module.c"
-#include "mm_diff.c"