Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
remove an unused parameter
authorMartin Quinson <martin.quinson@loria.fr>
Sun, 9 Oct 2016 09:30:36 +0000 (11:30 +0200)
committerMartin Quinson <martin.quinson@loria.fr>
Sun, 9 Oct 2016 09:30:36 +0000 (11:30 +0200)
examples/msg/dht-chord/dht-chord.c
examples/msg/dht-chord/dht-chord.h

index 29a25a0..57ae2ff 100644 (file)
@@ -563,7 +563,7 @@ void stabilize(node_t node)
     set_finger(node, 0, candidate_id);
   }
   if (successor_id != node->id) {
-    remote_notify(node, successor_id, node->id);
+    remote_notify(successor_id, node->id);
   }
 }
 
@@ -582,7 +582,7 @@ void notify(node_t node, int predecessor_candidate_id) {
 }
 
 /* Notifies a remote node that its predecessor may have changed. */
-void remote_notify(node_t node, int notify_id, int predecessor_candidate_id) {
+void remote_notify(int notify_id, int predecessor_candidate_id) {
 
       task_data_t req_data = xbt_new0(s_task_data_t, 1);
       req_data->type = TASK_NOTIFY;
index 579b764..0351411 100644 (file)
@@ -69,7 +69,7 @@ int remote_get_predecessor(node_t node, int ask_to_id);
 int closest_preceding_node(node_t node, int id);
 void stabilize(node_t node);
 void notify(node_t node, int predecessor_candidate_id);
-void remote_notify(node_t node, int notify_to, int predecessor_candidate_id);
+void remote_notify(int notify_to, int predecessor_candidate_id);
 void fix_fingers(node_t node);
 void check_predecessor(node_t node);
 void random_lookup(node_t node);