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
Nobody cares about this argument since maybe 4 years (when we managed to parse the...
[simgrid.git]
/
src
/
surf
/
network_constant.c
diff --git
a/src/surf/network_constant.c
b/src/surf/network_constant.c
index
7b811c4
..
4c9db11
100644
(file)
--- a/
src/surf/network_constant.c
+++ b/
src/surf/network_constant.c
@@
-26,7
+26,7
@@
static void netcste_count_hosts(void)
host_number_int++;
}
host_number_int++;
}
-static void netcste_define_callbacks(
const char *file
)
+static void netcste_define_callbacks(
void
)
{
surfxml_add_callback(STag_surfxml_host_cb_list, &netcste_count_hosts);
}
{
surfxml_add_callback(STag_surfxml_host_cb_list, &netcste_count_hosts);
}
@@
-191,7
+191,7
@@
static void netcste_finalize(void)
-void surf_network_model_init_Constant(
const char *filename
)
+void surf_network_model_init_Constant()
{
xbt_assert(surf_network_model == NULL);
if (surf_network_model)
{
xbt_assert(surf_network_model == NULL);
if (surf_network_model)
@@
-233,7
+233,7
@@
void surf_network_model_init_Constant(const char *filename)
if (!random_latency)
random_latency = random_new(RAND, 100, 0.0, 1.0, .125, .034);
if (!random_latency)
random_latency = random_new(RAND, 100, 0.0, 1.0, .125, .034);
- netcste_define_callbacks(
filename
);
+ netcste_define_callbacks();
xbt_dynar_push(model_list, &surf_network_model);
update_model_description(surf_network_model_description,
xbt_dynar_push(model_list, &surf_network_model);
update_model_description(surf_network_model_description,