diff options
Diffstat (limited to 'libglusterfs/src/dict.c')
-rw-r--r-- | libglusterfs/src/dict.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libglusterfs/src/dict.c b/libglusterfs/src/dict.c index 3d8b5d8fef1..31867588def 100644 --- a/libglusterfs/src/dict.c +++ b/libglusterfs/src/dict.c @@ -1122,8 +1122,8 @@ dict_remove_foreach_fn (dict_t *d, char *k, return 0; } -static inline gf_boolean_t -match_everything (dict_t *d, char *k, data_t *v, void *data) +gf_boolean_t +dict_match_everything (dict_t *d, char *k, data_t *v, void *data) { return _gf_true; } @@ -1138,7 +1138,7 @@ dict_foreach (dict_t *dict, { int ret = 0; - ret = dict_foreach_match (dict, match_everything, NULL, fn, data); + ret = dict_foreach_match (dict, dict_match_everything, NULL, fn, data); if (ret > 0) ret = 0; |