X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/98a167fa2243c248259017276314ff93c8e841fe..7ad85b03568dabade546f7948aaf7279059e9269:/src/simix/smx_host.c diff --git a/src/simix/smx_host.c b/src/simix/smx_host.c index f4f4779a9b..982545b254 100644 --- a/src/simix/smx_host.c +++ b/src/simix/smx_host.c @@ -20,9 +20,8 @@ static void SIMIX_execution_finish(smx_synchro_t synchro); * \brief Internal function to create a SIMIX host. * \param name name of the host to create */ -void SIMIX_host_create(const char *name) // FIXME: braindead prototype. Take sg_host as parameter +void SIMIX_host_create(sg_host_t host) // FIXME: braindead prototype. Take sg_host as parameter { - sg_host_t host = xbt_lib_get_elm_or_null(host_lib, name); smx_host_priv_t smx_host = xbt_new0(s_smx_host_priv_t, 1); s_smx_process_t proc;