From: Christian Heinrich Date: Tue, 5 Dec 2017 16:29:46 +0000 (+0100) Subject: [SMPI] process_data is now declared static X-Git-Tag: v3.18~140 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/74154653779f9c914ca6759c9e7230d4c052315f [SMPI] process_data is now declared static It's not used in any other file any more and functions should be used (if at all) to access it. --- diff --git a/src/smpi/internals/smpi_global.cpp b/src/smpi/internals/smpi_global.cpp index 351269c3b2..0407a77a54 100644 --- a/src/smpi/internals/smpi_global.cpp +++ b/src/smpi/internals/smpi_global.cpp @@ -52,7 +52,7 @@ struct papi_process_data { #endif std::unordered_map location2speedup; -simgrid::smpi::Process **process_data = nullptr; +static simgrid::smpi::Process** process_data = nullptr; int process_count = 0; int smpi_universe_size = 0; int* index_to_process_data = nullptr;