Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
use a sane way to declare postparse callbacks, now that this way exists
[simgrid.git] / src / surf / surfxml_parseplatf.c
index 50e6301..9f2e6de 100644 (file)
@@ -181,7 +181,7 @@ void parse_platform_file(const char *file)
 
   /* Register classical callbacks */
   surfxml_add_callback(STag_surfxml_prop_cb_list, &parse_properties_XML);
-  surf_parse_add_callback_config();
+  routing_register_callbacks();
 
   surfxml_buffer_stack_stack_ptr = 1;
   surfxml_buffer_stack_stack[0] = 0;
@@ -193,7 +193,5 @@ void parse_platform_file(const char *file)
   surf_parse_close();
   if (parse_status)
     xbt_die("Parse error in %s", file);
-
-  surf_config_models_create_elms();
 }