]> AND Public Git Repository - simgrid.git/blobdiff - src/xbt/graphxml_parse.c
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Debuging surf Reno and Vegas with lagrange optimization approach
[simgrid.git] / src / xbt / graphxml_parse.c
index e56b6dbfdc49ce1d935590bd37431a018b423a40..98fe312d332cd5442db1f7432c4157b6501298f6 100644 (file)
@@ -6,6 +6,7 @@
  * under the terms of the license (GNU LGPL) which comes with this package. */
 
 #include "xbt/misc.h"
+#include "xbt/sysdep.h"
 #include "xbt/log.h"
 #include "xbt/asserts.h"
 
@@ -25,12 +26,12 @@ static void nil_function(void)
   return;
 }
 
-void_f_void_t STag_graphxml_graph_fun = nil_function;
-void_f_void_t ETag_graphxml_graph_fun = nil_function;
-void_f_void_t STag_graphxml_node_fun = nil_function;
-void_f_void_t ETag_graphxml_node_fun = nil_function;
-void_f_void_t STag_graphxml_edge_fun = nil_function;
-void_f_void_t ETag_graphxml_edge_fun = nil_function;
+void_f_void_t *STag_graphxml_graph_fun = nil_function;
+void_f_void_t *ETag_graphxml_graph_fun = nil_function;
+void_f_void_t *STag_graphxml_node_fun = nil_function;
+void_f_void_t *ETag_graphxml_node_fun = nil_function;
+void_f_void_t *STag_graphxml_edge_fun = nil_function;
+void_f_void_t *ETag_graphxml_edge_fun = nil_function;
 
 YY_BUFFER_STATE xbt_graph_input_buffer;
 FILE *xbt_graph_file_to_parse;
@@ -114,7 +115,7 @@ static int _xbt_graph_parse(void)
   return xbt_graph_parse_lex();
 }
 
-int_f_void_t xbt_graph_parse = _xbt_graph_parse;
+int_f_void_t *xbt_graph_parse = _xbt_graph_parse;
 
 void xbt_graph_parse_get_double(double *value,const char *string)
 {