From: Martin Quinson Date: Wed, 15 Feb 2017 15:37:01 +0000 (+0100) Subject: make some C functions as such to please sonar X-Git-Tag: v3_15~376^2~2 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/b84501682d66c13a30f3861055e2318d12d2ca60 make some C functions as such to please sonar --- diff --git a/src/surf/plugins/host_energy.cpp b/src/surf/plugins/host_energy.cpp index 8aa4cc0478..310bd66fa4 100644 --- a/src/surf/plugins/host_energy.cpp +++ b/src/surf/plugins/host_energy.cpp @@ -308,6 +308,8 @@ static void onHostDestruction(simgrid::s4u::Host& host) } /* **************************** Public interface *************************** */ +SG_BEGIN_DECL() + /** \ingroup SURF_plugin_energy * \brief Enable host energy plugin * \details Enable energy plugin to get joules consumption of each cpu. Call this function before #MSG_init(). @@ -351,3 +353,5 @@ double sg_host_get_wattmax_at(sg_host_t host, int pstate) "The Energy plugin is not active. Please call sg_energy_plugin_init() during initialization."); return host->extension()->getWattMaxAt(pstate); } + +SG_END_DECL()