Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
cosmetics, nothing serious
[simgrid.git] / src / surf / surf_routing_generic.c
index e99aa19..406f771 100644 (file)
@@ -14,7 +14,7 @@
 
 XBT_LOG_NEW_DEFAULT_SUBCATEGORY(surf_routing_generic, surf_route, "Generic implementation of the surf routing");
 
-AS_t routmod_generic_create(size_t childsize) {
+AS_t model_generic_create_sized(size_t childsize) {
   AS_t new_component = xbt_malloc0(childsize);
 
   new_component->parse_PU = generic_parse_PU;
@@ -30,7 +30,6 @@ AS_t routmod_generic_create(size_t childsize) {
   new_component->finalize = NULL;
   new_component->to_index = xbt_dict_new();
   new_component->bypassRoutes = xbt_dict_new();
-  new_component->get_network_element_type = get_network_element_type;
 
   return new_component;
 }