X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fcommon%2Fhashtable%2Fhashtable.h;h=ea58bfe12010c694339e178d9645cb8c853a49be;hb=83712c39736bc4edbd64ca7e83192c9877a80a8e;hp=05c174228b6c8a5aa4d4fefaf1034ec4767f6638;hpb=d604af56012530c73c1f1b1fbe6156555febe386;p=lttng-tools.git diff --git a/src/common/hashtable/hashtable.h b/src/common/hashtable/hashtable.h index 05c174228..ea58bfe12 100644 --- a/src/common/hashtable/hashtable.h +++ b/src/common/hashtable/hashtable.h @@ -21,13 +21,12 @@ #include #include -#include "rculfhash.h" -#include "rculfhash-internal.h" #include +#include extern unsigned long lttng_ht_seed; -typedef unsigned long (*hash_fct)(void *_key, unsigned long seed); +typedef unsigned long (*hash_fct)(const void *_key, unsigned long seed); typedef cds_lfht_match_fct hash_match_fct; enum lttng_ht_type {