summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
78c8ffd)
Hash table utils do not enforce const-correct in lttng-tools prior
to 2.11. This results in a warning when pasing a const argument
to those utilities.
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
static unsigned long ht_hash_event(void *_key, unsigned long seed)
{
uint64_t hashed_key;
static unsigned long ht_hash_event(void *_key, unsigned long seed)
{
uint64_t hashed_key;
- const struct ust_registry_event *key = _key;
+ struct ust_registry_event *key = _key;