X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/6d6ee3cd05fd81d6eca0b61ad21bf2912dad51b2..0e7d247670cc012d8e784d0c8bcbb70a1c0bb9c6:/src/mc/mc_memory.cpp diff --git a/src/mc/mc_memory.cpp b/src/mc/mc_memory.cpp index 866015fc2c..2864b9d35d 100644 --- a/src/mc/mc_memory.cpp +++ b/src/mc/mc_memory.cpp @@ -1,4 +1,4 @@ -/* Copyright (c) 2008-2015. The SimGrid Team. +/* Copyright (c) 2008-2017. The SimGrid Team. * All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it @@ -10,7 +10,7 @@ #include "xbt/log.h" #include "mc/mc.h" -#include "src/mc/mc_private.h" +#include "src/mc/mc_private.hpp" #include "src/xbt/mmalloc/mmprivate.h" XBT_LOG_NEW_DEFAULT_SUBCATEGORY(mc_memory, mc, @@ -22,13 +22,8 @@ extern "C" { /* It creates the two heap regions: std_heap and mc_heap */ void MC_memory_init() { - if (!malloc_use_mmalloc()) + if (not malloc_use_mmalloc()) xbt_die("Model-checking support is not enabled: run with simgrid-mc."); } -/* Finalize the memory subsystem */ -void MC_memory_exit(void) -{ -} - }