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] More const for pointer and reference local variables and parameters.
[simgrid.git]
/
examples
/
deprecated
/
msg
/
dht-pastry
/
dht-pastry.c
diff --git
a/examples/deprecated/msg/dht-pastry/dht-pastry.c
b/examples/deprecated/msg/dht-pastry/dht-pastry.c
index
274e2ba
..
c232a8e
100644
(file)
--- a/
examples/deprecated/msg/dht-pastry/dht-pastry.c
+++ b/
examples/deprecated/msg/dht-pastry/dht-pastry.c
@@
-134,7
+134,8
@@
static int closest_in_namespace_set(const_node_t node, int dest)
}
/* Find the next node to forward a message to */
-static int routing_next(node_t node, int dest) {
+static int routing_next(const_node_t node, int dest)
+{
int closest = closest_in_namespace_set(node, dest);
if (closest!=-1)
return closest;