Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Fix supernovae mode.
authornavarrop <navarrop@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Wed, 13 Oct 2010 08:32:07 +0000 (08:32 +0000)
committernavarrop <navarrop@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Wed, 13 Oct 2010 08:32:07 +0000 (08:32 +0000)
Rename "finalize" function of timer into "timer_finalize"
because the parser have a function called finalize too.

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8412 48e7efb5-ca39-0410-a469-dd3cf9ba447f

src/surf/surf_model_timer.c

index 14ee6b2..4cf18e1 100644 (file)
@@ -155,7 +155,7 @@ static int action_is_suspended(surf_action_t action)
   return 0;
 }
 
-static void finalize(void)
+static void timer_finalize(void)
 {
   xbt_heap_free(timer_heap);
   timer_heap = NULL;
@@ -183,7 +183,7 @@ static void surf_timer_model_init_internal(void)
       update_actions_state;
   surf_timer_model->model_private->update_resource_state =
       update_resource_state;
-  surf_timer_model->model_private->finalize = finalize;
+  surf_timer_model->model_private->finalize = timer_finalize;
 
   surf_timer_model->suspend = action_suspend;
   surf_timer_model->resume = action_resume;