X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/3a3bf65fe403e30d7d21b88ceb4fc11d39af5713..2c803179bcf6c7b734f6f22aa44fda9da4d1793d:/include/smpi/smpi_cocci.h diff --git a/include/smpi/smpi_cocci.h b/include/smpi/smpi_cocci.h index 2aff10b7af..ace208ff95 100644 --- a/include/smpi/smpi_cocci.h +++ b/include/smpi/smpi_cocci.h @@ -47,16 +47,11 @@ void __attribute__((weak,destructor)) __postfini_##name(void) { \ * * This function is rather internal, mainly used for the * privatization of global variables through coccinelle. - * - * Since its implementation relies on the on_exit() function that - * is not implemented on Mac, this function is a no-op on that - * architecture. But the only issue raised is that the memory is - * not raised right before the process terminaison. This is only - * important if you want to run valgrind on the code, or - * equivalent. */ XBT_PUBLIC(void) smpi_register_static(void* arg); +XBT_PUBLIC(void) smpi_free_static(void); + #define SMPI_VARINIT_STATIC(name,type) \ static type *name = NULL; \ if(!name) { \