X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/7bc01999f5003e51cc1d12f93647999a1a143f23..f9df6a0ce7023e4e22d83bb6c50f27bd21fab329:/src/surf/plugins/energy.cpp diff --git a/src/surf/plugins/energy.cpp b/src/surf/plugins/energy.cpp index c333364b4f..eb06430fe1 100644 --- a/src/surf/plugins/energy.cpp +++ b/src/surf/plugins/energy.cpp @@ -253,7 +253,7 @@ static void onHostDestruction(simgrid::s4u::Host& host) { * \brief Enable energy plugin * \details Enable energy plugin to get joules consumption of each cpu. You should call this function before #MSG_init(). */ -void sg_energy_plugin_init(void) +void sg_energy_plugin_init() { if (HostEnergy::EXTENSION_ID.valid()) return;