Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Add a new function action_use that help to delay the free of an action. It helps...
[simgrid.git] / src / surf / surf_timer.c
index 7f0dd60..57b852c 100644 (file)
@@ -68,10 +68,10 @@ static int resource_used(void *resource_id)
   return 1;
 }
 
-static void action_free(surf_action_t action)
+static int action_free(surf_action_t action)
 {
   DIE_IMPOSSIBLE;
-  return;
+  return 1;
 }
 
 static void action_cancel(surf_action_t action)