X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/59ba8415761f72b7ce056bb275aeaebb6a507156..3cbf54871089cc3dc50b6832652b5765e1601039:/src/simgrid/host.cpp diff --git a/src/simgrid/host.cpp b/src/simgrid/host.cpp index 0ee923f7bf..346a1c45b7 100644 --- a/src/simgrid/host.cpp +++ b/src/simgrid/host.cpp @@ -19,8 +19,6 @@ XBT_LOG_NEW_DEFAULT_SUBCATEGORY(sg_host, sd, "Logging specific to sg_hosts"); -extern "C" { - size_t sg_host_count() { return simgrid::s4u::Engine::getInstance()->getHostCount(); @@ -338,5 +336,3 @@ sg_host_t sg_host_self() smx_actor_t process = SIMIX_process_self(); return (process == nullptr) ? nullptr : process->host; } - -} // extern "C"