X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/c5b66507bed01d07f72d09e96250a1cdfeaa90a4..0ffe46c97f312f9af2b6eb0c4068a84d4523fb10:/src/smpi/smpi_bench.cpp diff --git a/src/smpi/smpi_bench.cpp b/src/smpi/smpi_bench.cpp index a997df03b7..891b66338f 100644 --- a/src/smpi/smpi_bench.cpp +++ b/src/smpi/smpi_bench.cpp @@ -738,12 +738,11 @@ void smpi_destroy_global_memory_segments(){ #endif } -extern "C" { - - smpi_trace_call_location_t* smpi_trace_get_call_location() { - return smpi_process_get_call_location(); - } +smpi_trace_call_location_t* smpi_trace_get_call_location() { + return smpi_process_get_call_location(); +} +extern "C" { /** These functions will be called from the user code **/ void smpi_trace_set_call_location(const char* file, const int line) { smpi_trace_call_location_t* loc = smpi_process_get_call_location();