X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/45c3f1cfee86fb48c96d53f8267f99b6db6e3d7a..fa222c38f9b796be07ab4351ffc810a61a8fd705:/include/smpi/smpi_cocci.h diff --git a/include/smpi/smpi_cocci.h b/include/smpi/smpi_cocci.h index c4ea46fdbf..f938a9bdf2 100644 --- a/include/smpi/smpi_cocci.h +++ b/include/smpi/smpi_cocci.h @@ -56,7 +56,7 @@ XBT_PUBLIC(void) smpi_free_static(void); static type *name = NULL; \ if(!name) { \ name = (type*)calloc(smpi_global_size(), sizeof(type)); \ - smpi_register_static(name, xbt_free); \ + smpi_register_static(name, xbt_free_f); \ } #define SMPI_VARINIT_STATIC_AND_SET(name,type,expr) \ @@ -69,7 +69,7 @@ if(!name) { \ for(i = 0; i < size; i++) { \ name[i] = value; \ } \ - smpi_register_static(name, xbt_free); \ + smpi_register_static(name, xbt_free_f); \ } #define SMPI_VARGET_STATIC(name) name[smpi_process_index()]