X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/46448320f12d59d0a5efc015ec51ec6ebba525c6..a22eac4ecebbfe32bc971d40680651b7ab1af4d4:/src/mc/mc_ignore.h diff --git a/src/mc/mc_ignore.h b/src/mc/mc_ignore.h index a9b134de13..fef3326247 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,18 +6,20 @@ #ifndef SIMGRID_MC_IGNORE_H #define SIMGRID_MC_IGNORE_H -#include +#include "src/internal_config.h" +#include "xbt/dynar.h" -#include "mc/datatypes.h" -#include "mc/Process.hpp" +#if HAVE_UCONTEXT_H +#include /* context relative declarations */ +#endif -#include "xbt/misc.h" /* SG_BEGIN_DECL */ SG_BEGIN_DECL(); -XBT_PRIVATE void MC_stack_area_add(stack_region_t stack_area); +#if HAVE_UCONTEXT_H +XBT_PUBLIC(void) MC_register_stack_area(void *stack, smx_actor_t process, ucontext_t* context, size_t size); +#endif -XBT_PRIVATE xbt_dynar_t MC_checkpoint_ignore_new(void); SG_END_DECL();