Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
This function has no reason to go public.
authorArnaud Legrand <arnaud.legrand@imag.fr>
Thu, 26 Apr 2012 22:24:22 +0000 (00:24 +0200)
committerArnaud Legrand <arnaud.legrand@imag.fr>
Thu, 26 Apr 2012 22:24:22 +0000 (00:24 +0200)
Sorry about the previous buggy commit that did not worked with full warning flags.

src/simix/smx_global.c
src/simix/smx_private.h

index e25a863..4555093 100644 (file)
@@ -165,7 +165,7 @@ XBT_INLINE double SIMIX_get_clock(void)
   }
 }
 
-int process_syscall_color(void *p) {
+static int process_syscall_color(void *p) {
   e_smx_simcall_t s = (*((smx_process_t *)p))->simcall.call;
 
   if (s == SIMCALL_NONE || s == SIMCALL_PROCESS_KILL) return 2;
index 61acf3b..824239f 100644 (file)
@@ -185,8 +185,6 @@ static XBT_INLINE e_smx_state_t SIMIX_action_map_state(e_surf_action_state_t sta
   }
 }
 
-int process_syscall_color(void *p);
-
 void SIMIX_context_mod_init(void);
 void SIMIX_context_mod_exit(void);