diff --git a/services/utils/init_hashmap.c b/services/utils/init_hashmap.c index 31edf4f99ea284ee15a1815da9b552dc5cceb8b7..4abb31003ee3cb28c950e40126bfcd117a0c0fe2 100755 --- a/services/utils/init_hashmap.c +++ b/services/utils/init_hashmap.c @@ -174,7 +174,8 @@ HashNode *HashMapFind(HashMapHandle handle, return GetHashNodeByKey(tab, tab->buckets[hashCode], key, keyCompare); } -void HashMapTraverse(HashMapHandle handle, void (*hashNodeTraverse)(const HashNode *node, const void *context), const void *context) +void HashMapTraverse(HashMapHandle handle, void (*hashNodeTraverse)(const HashNode *node, const void *context), + const void *context) { INIT_ERROR_CHECK(handle != NULL && hashNodeTraverse != NULL, return, "Invalid param"); HashTab *tab = (HashTab *)handle;