From 820b3e5cd70325b3d5f5c4027137d684c5130465 Mon Sep 17 00:00:00 2001 From: Arnaud Giersch Date: Wed, 10 Oct 2012 11:08:40 +0200 Subject: [PATCH 1/1] Declare static functions in c file. --- src/surf/maxmin.c | 4 ++++ src/surf/maxmin_private.h | 4 ---- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/surf/maxmin.c b/src/surf/maxmin.c index 929c106638..c8b868cf64 100644 --- a/src/surf/maxmin.c +++ b/src/surf/maxmin.c @@ -32,6 +32,10 @@ static void lmm_remove_all_modified_set(lmm_system_t sys); static int Global_debug_id = 1; static int Global_const_debug_id = 1; +static void lmm_var_free(lmm_system_t sys, lmm_variable_t var); +static XBT_INLINE void lmm_cnst_free(lmm_system_t sys, + lmm_constraint_t cnst); + lmm_system_t lmm_system_new(int selective_update) { lmm_system_t l = NULL; diff --git a/src/surf/maxmin_private.h b/src/surf/maxmin_private.h index 65594ab369..2239cd2b3e 100644 --- a/src/surf/maxmin_private.h +++ b/src/surf/maxmin_private.h @@ -101,10 +101,6 @@ typedef struct lmm_system { do { xbt_swag_remove(cnst, &sys->active_constraint_set); \ xbt_swag_remove(cnst, &sys->modified_constraint_set); } while (0) -static void lmm_var_free(lmm_system_t sys, lmm_variable_t var); -static XBT_INLINE void lmm_cnst_free(lmm_system_t sys, - lmm_constraint_t cnst); - void lmm_print(lmm_system_t sys); extern double (*func_f_def) (lmm_variable_t, double); -- 2.20.1