X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/f9436b840852218b39dce22d6057b6f223168daa..30f40863fc506c7013dec1902201d4bdffe3a101:/src/mc/mc_client_api.cpp diff --git a/src/mc/mc_client_api.cpp b/src/mc/mc_client_api.cpp index 470e06faca..3cf1ff7343 100644 --- a/src/mc/mc_client_api.cpp +++ b/src/mc/mc_client_api.cpp @@ -4,8 +4,8 @@ /* This program is free software; you can redistribute it and/or modify it * under the terms of the license (GNU LGPL) which comes with this package. */ -#include -#include +#include "xbt/log.h" +#include "xbt/sysdep.h" #include #include "src/mc/ModelChecker.hpp" @@ -33,7 +33,7 @@ void MC_assert(int prop) simgrid::mc::Client::get()->reportAssertionFailure(); } -void MC_cut(void) +void MC_cut() { xbt_assert(mc_model_checker == nullptr); if (not MC_is_active()) @@ -50,7 +50,7 @@ void MC_ignore(void* addr, size_t size) simgrid::mc::Client::get()->ignoreMemory(addr, size); } -void MC_automaton_new_propositional_symbol(const char *id, int(*fct)(void)) +void MC_automaton_new_propositional_symbol(const char* id, int (*fct)()) { xbt_assert(mc_model_checker == nullptr); if (not MC_is_active())