From: Arnaud Legrand Date: Thu, 26 Apr 2012 22:24:22 +0000 (+0200) Subject: This function has no reason to go public. X-Git-Tag: v3_7~62 X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/8906e0cca9c2d9884919f502536df631415765a5 This function has no reason to go public. Sorry about the previous buggy commit that did not worked with full warning flags. --- diff --git a/src/simix/smx_global.c b/src/simix/smx_global.c index e25a863629..4555093bcd 100644 --- a/src/simix/smx_global.c +++ b/src/simix/smx_global.c @@ -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; diff --git a/src/simix/smx_private.h b/src/simix/smx_private.h index 61acf3b323..824239f438 100644 --- a/src/simix/smx_private.h +++ b/src/simix/smx_private.h @@ -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);