A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
/me also hates void* pointers
[simgrid.git]
/
src
/
surf
/
surf_routing_cluster.c
diff --git
a/src/surf/surf_routing_cluster.c
b/src/surf/surf_routing_cluster.c
index
5a8d22b
..
45f09cc
100644
(file)
--- a/
src/surf/surf_routing_cluster.c
+++ b/
src/surf/surf_routing_cluster.c
@@
-48,12
+48,12
@@
static route_extended_t cluster_get_route(routing_component_t rc,
}
/* Creation routing model functions */
}
/* Creation routing model functions */
-
void *
model_cluster_create(void)
+
routing_component_t
model_cluster_create(void)
{
{
- routing_component_
cluster_
t new_component = model_rulebased_create();
- new_component->ge
neric_routing.ge
t_route = cluster_get_route;
+ routing_component_t new_component = model_rulebased_create();
+ new_component->get_route = cluster_get_route;
- return new_component;
+ return
(routing_component_t)
new_component;
}
void model_cluster_unload(void) {
// xbt_dict_free(&cluster_host_link); //FIXME: do it once the module management is clean in routing
}
void model_cluster_unload(void) {
// xbt_dict_free(&cluster_host_link); //FIXME: do it once the module management is clean in routing