X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/f05083da42eef633dfdf50f44e63fb18e3c0dcec..3811869b798996bc777e7262a42b531d044716c9:/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();