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
Don't let field unitialized.
[simgrid.git]
/
examples
/
msg
/
dht-kademlia
/
answer.h
diff --git
a/examples/msg/dht-kademlia/answer.h
b/examples/msg/dht-kademlia/answer.h
index
03fe765
..
e381816
100644
(file)
--- a/
examples/msg/dht-kademlia/answer.h
+++ b/
examples/msg/dht-kademlia/answer.h
@@
-14,7
+14,9
@@
typedef struct s_node_answer {
unsigned int destination_id;
xbt_dynar_t nodes; //Dynar of node_contact_t
unsigned int size;
-} s_answer_t, *answer_t;
+} s_answer_t;
+
+typedef s_answer_t *answer_t;
#include "node.h"