X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/a6683a1cd7515c04a74364c9f991d55d9329a7c5..6d1fc1c31cb2152b6d20742081118524dbb78d14:/src/mc/mc_replay.h diff --git a/src/mc/mc_replay.h b/src/mc/mc_replay.h index f9324c8f27..c824d44a6a 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. */ @@ -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; }