X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/7b138f8b1ed3e8816eda5cb26deb71fe81b4087a..00b1be74283514cdf226b69c08f1f4b9798ca5cd:/src/smpi/smpi_static_variables.cpp diff --git a/src/smpi/smpi_static_variables.cpp b/src/smpi/smpi_static_variables.cpp index cd0dff367a..4353c7f513 100644 --- a/src/smpi/smpi_static_variables.cpp +++ b/src/smpi/smpi_static_variables.cpp @@ -1,4 +1,4 @@ -/* Copyright (c) 2011-2014. The SimGrid Team. +/* Copyright (c) 2011-2017. The SimGrid Team. * All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it @@ -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);