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_none.c
diff --git
a/src/surf/surf_routing_none.c
b/src/surf/surf_routing_none.c
index
43b347b
..
c26c777
100644
(file)
--- a/
src/surf/surf_routing_none.c
+++ b/
src/surf/surf_routing_none.c
@@
-53,7
+53,7
@@
static void none_set_autonomous_system(routing_component_t rc,
}
/* Creation routing model functions */
}
/* Creation routing model functions */
-
void *
model_none_create(void)
+
routing_component_t
model_none_create(void)
{
routing_component_none_t new_component =
xbt_new0(s_routing_component_none_t, 1);
{
routing_component_none_t new_component =
xbt_new0(s_routing_component_none_t, 1);
@@
-69,7
+69,7
@@
void *model_none_create(void)
none_get_onelink_routes;
new_component->generic_routing.get_bypass_route = none_get_bypass_route;
new_component->generic_routing.finalize = none_finalize;
none_get_onelink_routes;
new_component->generic_routing.get_bypass_route = none_get_bypass_route;
new_component->generic_routing.finalize = none_finalize;
- return new_component;
+ return
(routing_component_t)
new_component;
}
void model_none_load(void)
}
void model_none_load(void)