Fix: pass private data to context callbacks
[lttng-ust.git] / libcounter / smp.h
index 6b3de2875a447d722cdcd5d9e4747dde85084766..38eae489788b5eed0c6a28cec054c8fd7c931ae6 100644 (file)
@@ -7,17 +7,16 @@
 #ifndef _LIBCOUNTER_SMP_H
 #define _LIBCOUNTER_SMP_H
 
-#include "ust-helper.h"
-
 /*
  * 4kB of per-cpu data available.
  */
 #define LTTNG_COUNTER_PER_CPU_MEM_SIZE 4096
 
-LTTNG_HIDDEN
-extern int __lttng_counter_num_possible_cpus;
-LTTNG_HIDDEN
-extern void _lttng_counter_get_num_possible_cpus(void);
+extern int __lttng_counter_num_possible_cpus
+       __attribute__((visibility("hidden")));
+
+extern void _lttng_counter_get_num_possible_cpus(void)
+       __attribute__((visibility("hidden")));
 
 static inline
 int lttng_counter_num_possible_cpus(void)
This page took 0.023473 seconds and 4 git commands to generate.