Fix: pass private data to context callbacks
[lttng-ust.git] / liblttng-ust / rculfhash-internal.h
index 39b20ed55f419c9e22648cb7671f6c8970ebe7a4..26971580aec9d146950bd8a3432433dc8cc6cdd1 100644 (file)
@@ -14,7 +14,6 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <assert.h>
-#include "ust-helper.h"
 
 #ifdef DEBUG
 #define dbg_printf(fmt, args...)     printf("[debug lttng-ust rculfhash] " fmt, ## args)
@@ -126,12 +125,14 @@ struct lttng_ust_lfht {
         */
 };
 
-LTTNG_HIDDEN
-extern unsigned int lttng_ust_lfht_fls_ulong(unsigned long x);
-LTTNG_HIDDEN
-extern int lttng_ust_lfht_get_count_order_u32(uint32_t x);
-LTTNG_HIDDEN
-extern int lttng_ust_lfht_get_count_order_ulong(unsigned long x);
+extern unsigned int lttng_ust_lfht_fls_ulong(unsigned long x)
+       __attribute__((visibility("hidden")));
+
+extern int lttng_ust_lfht_get_count_order_u32(uint32_t x)
+       __attribute__((visibility("hidden")));
+
+extern int lttng_ust_lfht_get_count_order_ulong(unsigned long x)
+       __attribute__((visibility("hidden")));
 
 #ifdef POISON_FREE
 #define poison_free(ptr)                                       \
This page took 0.02273 seconds and 4 git commands to generate.