X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/ba15f0e8e5fe9918bad627ec253f3fcae8921432..f9df6a0ce7023e4e22d83bb6c50f27bd21fab329:/src/simix/smx_host.cpp diff --git a/src/simix/smx_host.cpp b/src/simix/smx_host.cpp index 5d534ba5ef..7bc45b9361 100644 --- a/src/simix/smx_host.cpp +++ b/src/simix/smx_host.cpp @@ -128,14 +128,14 @@ void SIMIX_host_destroy(void *h) return; } -sg_host_t SIMIX_host_self(void) +sg_host_t SIMIX_host_self() { smx_process_t process = SIMIX_process_self(); return (process == nullptr) ? nullptr : process->host; } /* needs to be public and without simcall for exceptions and logging events */ -const char* SIMIX_host_self_get_name(void) +const char* SIMIX_host_self_get_name() { sg_host_t host = SIMIX_host_self(); if (host == nullptr || SIMIX_process_self() == simix_global->maestro_process)