Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Remove extern "C" from cpp files.
[simgrid.git] / src / surf / plugins / host_energy.cpp
index 4f288b7..2e16379 100644 (file)
@@ -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<HostEnergy>()->getCurrentWattsValue();
 }
-}