From 8906e0cca9c2d9884919f502536df631415765a5 Mon Sep 17 00:00:00 2001 From: Arnaud Legrand Date: Fri, 27 Apr 2012 00:24:22 +0200 Subject: [PATCH] This function has no reason to go public. Sorry about the previous buggy commit that did not worked with full warning flags. --- src/simix/smx_global.c | 2 +- src/simix/smx_private.h | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) 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); -- 2.20.1