X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/dc7dbc95710842c435b575d93f8255e0aee5dc5e..aa3595ed3c903167f52eeeab8e636bec96b258dd:/src/smpi/smpi_static_variables.cpp diff --git a/src/smpi/smpi_static_variables.cpp b/src/smpi/smpi_static_variables.cpp index cd0dff367a..19fcd99f1e 100644 --- a/src/smpi/smpi_static_variables.cpp +++ b/src/smpi/smpi_static_variables.cpp @@ -24,7 +24,7 @@ void smpi_register_static(void* arg, void_f_pvoid_t free_fn) { registered_static_variables_stack.push(elm); } -void smpi_free_static(void) { +void smpi_free_static() { while (!registered_static_variables_stack.empty()) { s_smpi_static_t elm = registered_static_variables_stack.top(); elm.free_fn(elm.ptr);