X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/314c3d6a9ae66376eb5c1bc5f63b29e45e061051..c0b8222b84f1084085608ef4d3da724f7f3710e8:/src/include/mc/mc.h diff --git a/src/include/mc/mc.h b/src/include/mc/mc.h index 0e8da694d7..0a4a33a33d 100644 --- a/src/include/mc/mc.h +++ b/src/include/mc/mc.h @@ -10,7 +10,7 @@ #include #include #include /* our public interface (and definition of HAVE_MC) */ -#ifdef HAVE_UCONTEXT_H +#if HAVE_UCONTEXT_H #include /* context relative declarations */ #endif @@ -44,7 +44,6 @@ extern XBT_PUBLIC(int) _sg_mc_visited; extern XBT_PRIVATE char* _sg_mc_dot_output_file; extern XBT_PUBLIC(int) _sg_mc_comms_determinism; extern XBT_PUBLIC(int) _sg_mc_send_determinism; -extern XBT_PRIVATE int _sg_mc_safety; extern XBT_PRIVATE int _sg_mc_liveness; extern XBT_PRIVATE int _sg_mc_snapshot_fds; extern XBT_PRIVATE int _sg_mc_termination; @@ -67,8 +66,6 @@ XBT_PRIVATE void _mc_cfg_cb_send_determinism(const char *name, int pos); XBT_PRIVATE void _mc_cfg_cb_termination(const char *name, int pos); XBT_PUBLIC(void) MC_run(void); -XBT_PUBLIC(void) MC_init(void); -XBT_PUBLIC(void) MC_exit(void); XBT_PUBLIC(void) MC_process_clock_add(smx_process_t, double); XBT_PUBLIC(double) MC_process_clock_get(smx_process_t); XBT_PRIVATE void MC_automaton_load(const char *file); @@ -78,7 +75,7 @@ XBT_PUBLIC(void) MC_ignore_heap(void *address, size_t size); XBT_PUBLIC(void) MC_remove_ignore_heap(void *address, size_t size); XBT_PUBLIC(void) MC_ignore_local_variable(const char *var_name, const char *frame); XBT_PUBLIC(void) MC_ignore_global_variable(const char *var_name); -#ifdef HAVE_UCONTEXT_H +#if HAVE_UCONTEXT_H XBT_PUBLIC(void) MC_register_stack_area(void *stack, smx_process_t process, ucontext_t* context, size_t size); #endif