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
Reindent surf_routing.c
[simgrid.git]
/
src
/
surf
/
surf_routing_rulebased.c
diff --git
a/src/surf/surf_routing_rulebased.c
b/src/surf/surf_routing_rulebased.c
index
03ae1a4
..
611ad3e
100644
(file)
--- a/
src/surf/surf_routing_rulebased.c
+++ b/
src/surf/surf_routing_rulebased.c
@@
-394,7
+394,7
@@
static void rulebased_finalize(routing_component_t rc)
}
/* Creation routing model functions */
}
/* Creation routing model functions */
-
void *
model_rulebased_create(void)
+
routing_component_t
model_rulebased_create(void)
{
routing_component_rulebased_t new_component =
xbt_new0(s_routing_component_rulebased_t, 1);
{
routing_component_rulebased_t new_component =
xbt_new0(s_routing_component_rulebased_t, 1);
@@
-418,5
+418,5
@@
void *model_rulebased_create(void)
new_component->list_ASroute =
xbt_dynar_new(sizeof(rule_route_extended_t),
&rule_route_extended_free);
new_component->list_ASroute =
xbt_dynar_new(sizeof(rule_route_extended_t),
&rule_route_extended_free);
- return new_component;
+ return
(routing_component_t)
new_component;
}
}