Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Use the XBT_INLINE macro (defined in the portability layer header misc.h) to specify...
authorcherierm <cherierm@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Tue, 6 Nov 2007 13:43:40 +0000 (13:43 +0000)
committercherierm <cherierm@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Tue, 6 Nov 2007 13:43:40 +0000 (13:43 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@4986 48e7efb5-ca39-0410-a469-dd3cf9ba447f

src/surf/surfxml_parse.c

index a5f91f6..4d6239a 100644 (file)
@@ -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;