X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/514236282cc9b3e2eb76a2f41fdbbd6103b4c862..7ad85b03568dabade546f7948aaf7279059e9269:/src/simix/smx_global.c diff --git a/src/simix/smx_global.c b/src/simix/smx_global.c index c501208e8d..b37a920044 100644 --- a/src/simix/smx_global.c +++ b/src/simix/smx_global.c @@ -227,8 +227,8 @@ void SIMIX_global_init(int *argc, char **argv) /* register a function to be called by SURF after the environment creation */ sg_platf_init(); sg_platf_postparse_add_cb(SIMIX_post_create_environment); - surf_host_created_callback(SIMIX_host_create); - surf_storage_created_callback(SIMIX_storage_create_); + surf_on_host_created(SIMIX_host_create); + surf_on_storage_created(SIMIX_storage_create_); } if (!simix_timers) {