From 2acec8bc88bd643a4c60f183ba50c50c11a9d5c4 Mon Sep 17 00:00:00 2001 From: cherierm Date: Tue, 6 Nov 2007 13:43:40 +0000 Subject: [PATCH] Use the XBT_INLINE macro (defined in the portability layer header misc.h) to specify the inline keyword which depends of the platform target. git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@4986 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- src/surf/surfxml_parse.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/surf/surfxml_parse.c b/src/surf/surfxml_parse.c index a5f91f6401..4d6239a593 100644 --- a/src/surf/surfxml_parse.c +++ b/src/surf/surfxml_parse.c @@ -41,7 +41,7 @@ xbt_dict_t current_property_set = NULL; static xbt_dynar_t surf_input_buffer_stack = NULL; static xbt_dynar_t surf_file_to_parse_stack = NULL; -static inline void surfxml_call_cb_functions(xbt_dynar_t); +static XBT_INLINE void surfxml_call_cb_functions(xbt_dynar_t); YY_BUFFER_STATE surf_input_buffer; FILE *surf_file_to_parse; @@ -310,7 +310,7 @@ void surfxml_add_callback(xbt_dynar_t cb_list, void_f_void_t function) xbt_dynar_push(cb_list, &function); } -static inline void surfxml_call_cb_functions(xbt_dynar_t cb_list) +static XBT_INLINE void surfxml_call_cb_functions(xbt_dynar_t cb_list) { int iterator; void_f_void_t fun; -- 2.20.1