X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/59ba8415761f72b7ce056bb275aeaebb6a507156..3cbf54871089cc3dc50b6832652b5765e1601039:/src/surf/plugins/host_energy.cpp diff --git a/src/surf/plugins/host_energy.cpp b/src/surf/plugins/host_energy.cpp index 4f288b7e81..2e16379893 100644 --- a/src/surf/plugins/host_energy.cpp +++ b/src/surf/plugins/host_energy.cpp @@ -451,7 +451,6 @@ static void onSimulationEnd() } /* **************************** Public interface *************************** */ -extern "C" { /** \ingroup plugin_energy * \brief Enable host energy plugin @@ -532,4 +531,3 @@ double sg_host_get_current_consumption(sg_host_t host) "The Energy plugin is not active. Please call sg_host_energy_plugin_init() during initialization."); return host->extension()->getCurrentWattsValue(); } -}