X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/7f4f03348bd07609e258eb3b545bdafc2c881847..a49a03122b2def71ff741e78d15b38cd1d171184:/src/mc/mc_ignore.h diff --git a/src/mc/mc_ignore.h b/src/mc/mc_ignore.h index 4824094415..58f1795577 100644 --- a/src/mc/mc_ignore.h +++ b/src/mc/mc_ignore.h @@ -1,5 +1,4 @@ -/* Copyright (c) 2015. The SimGrid Team. - * All rights reserved. */ +/* Copyright (c) 2015-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,17 +6,15 @@ #ifndef SIMGRID_MC_IGNORE_H #define SIMGRID_MC_IGNORE_H -#include +#include "src/internal_config.h" -#include "mc/datatypes.h" -#include "src/mc/Process.hpp" - -#include "xbt/misc.h" /* SG_BEGIN_DECL */ +#if HAVE_UCONTEXT_H +#include /* context relative declarations */ SG_BEGIN_DECL(); - -XBT_PRIVATE xbt_dynar_t MC_checkpoint_ignore_new(void); - +XBT_PUBLIC(void) MC_register_stack_area(void *stack, smx_actor_t process, ucontext_t* context, size_t size); SG_END_DECL(); #endif + +#endif