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
[sonar] Constify pointer and reference parameters in examples/deprecated/.
[simgrid.git]
/
examples
/
deprecated
/
msg
/
dht-kademlia
/
task.h
diff --git
a/examples/deprecated/msg/dht-kademlia/task.h
b/examples/deprecated/msg/dht-kademlia/task.h
index
8490388
..
7879b48
100644
(file)
--- a/
examples/deprecated/msg/dht-kademlia/task.h
+++ b/
examples/deprecated/msg/dht-kademlia/task.h
@@
-30,6
+30,7
@@
typedef struct s_task_data {
} s_task_data_t;
typedef s_task_data_t *task_data_t;
+typedef const s_task_data_t* const_task_data_t;
//Task handling functions
msg_task_t task_new_find_node(unsigned int sender_id, unsigned int destination_id, char *mailbox, const char *hostname);