X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/fb38ec7f242abb0362371bbdd3cb848d3e1d1303..1a6e40bce6e758aa2e7afffbfd3c6b63063f1472:/examples/smpi/mc/bugged1_liveness.c diff --git a/examples/smpi/mc/bugged1_liveness.c b/examples/smpi/mc/bugged1_liveness.c index 68a5ef4671..b92f4e3909 100644 --- a/examples/smpi/mc/bugged1_liveness.c +++ b/examples/smpi/mc/bugged1_liveness.c @@ -23,15 +23,6 @@ int r, cs; -static int predR(){ - return r; -} - -static int predCS(){ - return cs; -} - - int main(int argc, char **argv){ int err, size, rank; @@ -47,8 +38,8 @@ int main(int argc, char **argv){ exit(1); } - MC_automaton_new_propositional_symbol("r", &predR); - MC_automaton_new_propositional_symbol("cs", &predCS); + MC_automaton_new_propositional_symbol_pointer("r", &r); + MC_automaton_new_propositional_symbol_pointer("cs", &cs); MC_ignore(&(status.count), sizeof(status.count));