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
Simply say fun_ptr(...) instead of (*fun_ptr)(...).
[simgrid.git]
/
src
/
xbt
/
dict.c
diff --git
a/src/xbt/dict.c
b/src/xbt/dict.c
index
d591e01
..
83e73b5
100644
(file)
--- a/
src/xbt/dict.c
+++ b/
src/xbt/dict.c
@@
-684,7
+684,7
@@
void xbt_dict_dump(xbt_dict_t dict, void_f_pvoid_t output)
while (element != NULL) {
printf(" %s -> '", element->key);
if (output != NULL) {
-
(*output)
(element->content);
+
output
(element->content);
}
printf("'\n");
element = element->next;