X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=libringbuffer%2Fsmp.h;h=78b1851fff12f2cbde6539f68b257374ba29a249;hb=f37bd90482562c086af4070caf1f218c832f5007;hp=b04401e1d9a94f2d36e35d394e83035ba0eb2fd2;hpb=071dec4386ff4c89d8b0f92ab1a8dbf079abd50c;p=lttng-ust.git diff --git a/libringbuffer/smp.h b/libringbuffer/smp.h index b04401e1..78b1851f 100644 --- a/libringbuffer/smp.h +++ b/libringbuffer/smp.h @@ -7,7 +7,6 @@ #ifndef _LIBRINGBUFFER_SMP_H #define _LIBRINGBUFFER_SMP_H -#include "ust-helper.h" #include "getcpu.h" /* @@ -16,9 +15,10 @@ */ #define PER_CPU_MEM_SIZE 4096 -LTTNG_HIDDEN +__attribute__((visibility("hidden"))) extern int __num_possible_cpus; -LTTNG_HIDDEN + +__attribute__((visibility("hidden"))) extern void _get_num_possible_cpus(void); static inline