From: Martin Quinson Date: Mon, 13 Mar 2017 21:58:55 +0000 (+0100) Subject: please sonar: specify that these functions are not to be moved in a namespace X-Git-Tag: v3_15~125 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/d5e23e9ab2fe06f294c0300c517b3f9d9247bcf4 please sonar: specify that these functions are not to be moved in a namespace --- diff --git a/src/smpi/smpi_global.cpp b/src/smpi/smpi_global.cpp index 1e6fd35f05..9ae72b3544 100644 --- a/src/smpi/smpi_global.cpp +++ b/src/smpi/smpi_global.cpp @@ -654,6 +654,8 @@ void smpi_global_destroy() smpi_free_static(); } +extern "C" { + #ifndef WIN32 void __attribute__ ((weak)) user_main_() @@ -684,7 +686,6 @@ int __attribute__ ((weak)) main(int argc, char **argv) #endif -extern "C" { static void smpi_init_logs(){ /* Connect log categories. See xbt/log.c */