Clean-up: hash table utils are unnecessarily non-const
[lttng-tools.git] / src / bin / lttng-sessiond / ust-registry.c
index d63c750087249ff67c7547eaf74179f0700c8132..ed830b60821cc67154879c629655f48e7b62bf10 100644 (file)
@@ -62,10 +62,10 @@ no_match:
        return 0;
 }
 
-static unsigned long ht_hash_event(void *_key, unsigned long seed)
+static unsigned long ht_hash_event(const void *_key, unsigned long seed)
 {
        uint64_t xored_key;
-       struct ust_registry_event *key = _key;
+       const struct ust_registry_event *key = _key;
 
        assert(key);
 
This page took 0.023489 seconds and 4 git commands to generate.