A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix compilation errors about multiple definition of `automaton'.
[simgrid.git]
/
examples
/
msg
/
mc
/
automatonparse_promela.h
diff --git
a/examples/msg/mc/automatonparse_promela.h
b/examples/msg/mc/automatonparse_promela.h
index cb4fc9cb54bf91a2487b6701022bc3a65280ff64..c80c34db2bc4b6922656d79ff3e24a61d855dcce 100644
(file)
--- a/
examples/msg/mc/automatonparse_promela.h
+++ b/
examples/msg/mc/automatonparse_promela.h
@@
-5,10
+5,10
@@
#include <string.h>
#include "xbt/automaton.h"
-xbt_automaton_t automaton;
-
SG_BEGIN_DECL()
+XBT_PUBLIC_DATA(xbt_automaton_t) automaton;
+
XBT_PUBLIC(void) init(void);
XBT_PUBLIC(void) new_state(char* id, int src);