Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
avoid void* pointers since we know the pointed type in all usage location of this...
[simgrid.git] / src / surf / surf_routing_private.h
index f5ebd55..ec9fe74 100644 (file)
@@ -48,10 +48,10 @@ route_t generic_get_bypassroute(AS_t rc,
 
 route_t
 generic_new_extended_route(e_surf_routing_hierarchy_t hierarchy,
 
 route_t
 generic_new_extended_route(e_surf_routing_hierarchy_t hierarchy,
-                           void *data, int order);
+                           route_t data, int order);
 route_t
 generic_new_route(e_surf_routing_hierarchy_t hierarchy,
 route_t
 generic_new_route(e_surf_routing_hierarchy_t hierarchy,
-                           void *data, int order);
+                           route_t data, int order);
 AS_t
 generic_autonomous_system_exist(AS_t rc, char *element);
 AS_t
 AS_t
 generic_autonomous_system_exist(AS_t rc, char *element);
 AS_t