X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/49e85177c669d793e84242983a1b1f430e47184e..a674f9425a359dc41dc6d26ac8377dbc64560f3c:/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()]