X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/ba15f0e8e5fe9918bad627ec253f3fcae8921432..f9df6a0ce7023e4e22d83bb6c50f27bd21fab329:/src/mc/mc_replay.h diff --git a/src/mc/mc_replay.h b/src/mc/mc_replay.h index f9324c8f27..ad7a98d3d9 100644 --- a/src/mc/mc_replay.h +++ b/src/mc/mc_replay.h @@ -18,7 +18,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; }