Clean-up: hash table utils are unnecessarily non-const
[lttng-tools.git] / src / bin / lttng-sessiond / buffer-registry.c
index 7002b33c7b2969bca7ce97f04b2ffd64ecd394a6..06e8f6b6a399030177ae2dfd955ef15baa927b2c 100644 (file)
@@ -73,10 +73,10 @@ no_match:
  * Hash function for the per UID registry hash table. This XOR the triplet
  * together.
  */
-static unsigned long ht_hash_reg_uid(void *_key, unsigned long seed)
+static unsigned long ht_hash_reg_uid(const void *_key, unsigned long seed)
 {
        uint64_t xored_key;
-       struct buffer_reg_uid *key = _key;
+       const struct buffer_reg_uid *key = _key;
 
        assert(key);
 
This page took 0.022924 seconds and 4 git commands to generate.