X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fcommon%2Fhashtable%2Fhashtable.cpp;h=6b87ff71f016ae9fb1fa309ace336a58d369b1f8;hb=c9e313bc594f40a86eed237dce222c0fc99c957f;hp=5ae7f26e0e0fbde4aa168dbf1a229ec6140f8b9b;hpb=21cf9b6b1843774306a76f4dccddddd706b64f79;p=lttng-tools.git diff --git a/src/common/hashtable/hashtable.cpp b/src/common/hashtable/hashtable.cpp index 5ae7f26e0..6b87ff71f 100644 --- a/src/common/hashtable/hashtable.cpp +++ b/src/common/hashtable/hashtable.cpp @@ -10,16 +10,15 @@ #include #include -#include -#include +#include +#include -#include "hashtable.h" -#include "utils.h" +#include "hashtable.hpp" +#include "utils.hpp" /* seed_lock protects both seed_init and lttng_ht_seed. */ static pthread_mutex_t seed_lock = PTHREAD_MUTEX_INITIALIZER; static bool seed_init; -unsigned long lttng_ht_seed; static unsigned long min_hash_alloc_size = 1; static unsigned long max_hash_buckets_size = 0;