X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/a6683a1cd7515c04a74364c9f991d55d9329a7c5..a49a03122b2def71ff741e78d15b38cd1d171184:/src/mc/mc_replay.h diff --git a/src/mc/mc_replay.h b/src/mc/mc_replay.h index f9324c8f27..fa295af75f 100644 --- a/src/mc/mc_replay.h +++ b/src/mc/mc_replay.h @@ -1,5 +1,4 @@ -/* Copyright (c) 2008-2015. The SimGrid Team. - * All rights reserved. */ +/* Copyright (c) 2008-2017. The SimGrid Team. All rights reserved. */ /* 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. */ @@ -7,7 +6,7 @@ #ifndef SIMGRID_MC_REPLAY_H #define SIMGRID_MC_REPLAY_H -#include +#include "xbt/base.h" SG_BEGIN_DECL() @@ -18,7 +17,7 @@ SG_BEGIN_DECL() XBT_PUBLIC_DATA(char*) MC_record_path; /** Whether the replay mode is enabled */ -static inline int MC_record_replay_is_active(void) { +static inline int MC_record_replay_is_active() { return MC_record_path != 0; }