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
[mc] Fix the hash computation
[simgrid.git]
/
src
/
mc
/
mc_snapshot.cpp
diff --git
a/src/mc/mc_snapshot.cpp
b/src/mc/mc_snapshot.cpp
index
6698e92
..
2d534f5
100644
(file)
--- a/
src/mc/mc_snapshot.cpp
+++ b/
src/mc/mc_snapshot.cpp
@@
-191,6
+191,8
@@
const void* Snapshot::read_bytes(void* buffer, std::size_t size,
}
}
}
}
+}
+
#ifdef SIMGRID_TEST
#include <string.h>
#ifdef SIMGRID_TEST
#include <string.h>
@@
-198,11
+200,9
@@
const void* Snapshot::read_bytes(void* buffer, std::size_t size,
#include <sys/mman.h>
#include <sys/mman.h>
-#include "mc/mc_private.h"
-#include "mc/mc_snapshot.h"
-#include "mc/mc_mmu.h"
-
-extern "C" {
+#include "src/mc/mc_private.h"
+#include "src/mc/mc_snapshot.h"
+#include "src/mc/mc_mmu.h"
XBT_TEST_SUITE("mc_snapshot", "Snapshots");
XBT_TEST_SUITE("mc_snapshot", "Snapshots");
@@
-297,8
+297,5
@@
static void test_snapshot(bool sparse_checkpoint) {
mc_model_checker = NULL;
}
mc_model_checker = NULL;
}
-}
-
#endif /* SIMGRID_TEST */
#endif /* SIMGRID_TEST */
-}