X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=src%2Fcommon%2Fhashtable%2Fhashtable.c;h=78175ca6d508d24b2ffd4fa29a82ce8fba3633ff;hb=fb9a95c4d6242bd8336b638c90a7d8f846125659;hp=4fb19cffda923bf1f19062be891f6180f0e48c14;hpb=f3bc9b69786b16160da9c7f2650e1199e55529b6;p=lttng-tools.git diff --git a/src/common/hashtable/hashtable.c b/src/common/hashtable/hashtable.c index 4fb19cffd..78175ca6d 100644 --- a/src/common/hashtable/hashtable.c +++ b/src/common/hashtable/hashtable.c @@ -259,7 +259,7 @@ void lttng_ht_node_free_two_u64(struct lttng_ht_node_two_u64 *node) * Lookup function in hashtable. */ LTTNG_HIDDEN -void lttng_ht_lookup(struct lttng_ht *ht, void *key, +void lttng_ht_lookup(struct lttng_ht *ht, const void *key, struct lttng_ht_iter *iter) { assert(ht);