X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=liblttng-ust%2Flttng-hash-helper.h;fp=liblttng-ust%2Flttng-hash-helper.h;h=36c3ae4274906ea96c26886bb81293fa405e9844;hb=8da9deee450bf62c6c3abb1f44f9414c0667dd6f;hp=1978fbde6f55de4f39db5e628377ad563bf3e2f8;hpb=b670e9e80fd344432cb56e3c168b60103acd77d0;p=lttng-ust.git diff --git a/liblttng-ust/lttng-hash-helper.h b/liblttng-ust/lttng-hash-helper.h index 1978fbde..36c3ae42 100644 --- a/liblttng-ust/lttng-hash-helper.h +++ b/liblttng-ust/lttng-hash-helper.h @@ -43,7 +43,10 @@ do { \ c ^= b; c -= rot(b, 24); \ } -static inline __attribute__((unused)) +static inline +uint32_t lttng_hash_u32(const uint32_t *k, size_t length, uint32_t initval) + __attribute__((unused)); +static inline uint32_t lttng_hash_u32( const uint32_t *k, /* the key, an array of uint32_t values */ size_t length, /* the length of the key, in uint32_ts */