X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/3daae820581b21fdb17a7fd73ae92d617c2ab72a..20427e1463985c071ac551547d0906e282b43520:/src/surf/network_constant.c diff --git a/src/surf/network_constant.c b/src/surf/network_constant.c index a94f7acc42..c733bc8d3b 100644 --- a/src/surf/network_constant.c +++ b/src/surf/network_constant.c @@ -21,13 +21,11 @@ XBT_LOG_EXTERNAL_DEFAULT_CATEGORY(surf_network); static random_data_t random_latency = NULL; static int host_number_int = 0; -static void netcste_count_hosts(sg_platf_host_cbarg_t h) -{ +static void netcste_count_hosts(sg_platf_host_cbarg_t h) { host_number_int++; } -static void netcste_define_callbacks(void) -{ +static void netcste_define_callbacks(void) { sg_platf_host_add_cb(netcste_count_hosts); }