]> AND Public Git Repository - simgrid.git/blobdiff - src/smpi/smpi_static_variables.cpp
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Now it works (if you don't look at the leaks)
[simgrid.git] / src / smpi / smpi_static_variables.cpp
index cd0dff367a3964bb9a95f864cb85eefe78558c98..19fcd99f1e68c722cfde9810f2453981906703bc 100644 (file)
@@ -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);