X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/8e4a3f0cfb4cce8161d15bd2f531bff6007f3ce5..ae263b4ff3dee3b575fa789e14d078130e66074e:/examples/msg/mc/automatonparse_promela.h diff --git a/examples/msg/mc/automatonparse_promela.h b/examples/msg/mc/automatonparse_promela.h index 739492a95e..c80c34db2b 100644 --- a/examples/msg/mc/automatonparse_promela.h +++ b/examples/msg/mc/automatonparse_promela.h @@ -5,11 +5,11 @@ #include #include "xbt/automaton.h" -xbt_automaton_t automaton; - SG_BEGIN_DECL() -XBT_PUBLIC(void) init(); +XBT_PUBLIC_DATA(xbt_automaton_t) automaton; + +XBT_PUBLIC(void) init(void); XBT_PUBLIC(void) new_state(char* id, int src); @@ -17,9 +17,9 @@ XBT_PUBLIC(void) new_transition(char* id, xbt_exp_label_t label); XBT_PUBLIC(xbt_exp_label_t) new_label(int type, ...); -XBT_PUBLIC(xbt_automaton_t) get_automaton(); - -XBT_PUBLIC(void) display_automaton(); +XBT_PUBLIC(xbt_automaton_t) get_automaton(void); + +XBT_PUBLIC(void) display_automaton(void); SG_END_DECL()