A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #17 from mpoquet/master
[simgrid.git]
/
include
/
smpi
/
smpi_cocci.h
diff --git
a/include/smpi/smpi_cocci.h
b/include/smpi/smpi_cocci.h
index
c4ea46f
..
f938a9b
100644
(file)
--- 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)); \
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) \
}
#define SMPI_VARINIT_STATIC_AND_SET(name,type,expr) \
@@
-69,7
+69,7
@@
if(!name) { \
for(i = 0; i < size; i++) { \
name[i] = value; \
} \
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()]
}
#define SMPI_VARGET_STATIC(name) name[smpi_process_index()]