X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=libringbuffer%2Fsmp.h;h=028a66f7844aa47a791db7618469a387e7f999b2;hb=f1324c1158b8ad5b9dd8bcc55e2a1a26ab2113ae;hp=b04401e1d9a94f2d36e35d394e83035ba0eb2fd2;hpb=071dec4386ff4c89d8b0f92ab1a8dbf079abd50c;p=lttng-ust.git diff --git a/libringbuffer/smp.h b/libringbuffer/smp.h index b04401e1..028a66f7 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,10 +15,11 @@ */ #define PER_CPU_MEM_SIZE 4096 -LTTNG_HIDDEN -extern int __num_possible_cpus; -LTTNG_HIDDEN -extern void _get_num_possible_cpus(void); +extern int __num_possible_cpus + __attribute__((visibility("hidden"))); + +extern void _get_num_possible_cpus(void) + __attribute__((visibility("hidden"))); static inline int num_possible_cpus(void)