Hide symbols that shouldn't be part of the ABI
[lttng-ust.git] / src / common / ringbuffer / ring_buffer_frontend.c
index 5a9117f6ef053736e12952874cdbc0a3e44cb1c4..fa0a984bfe26ea9f6aa8ff27c84882ad0040426c 100644 (file)
@@ -55,7 +55,7 @@
 #include <lttng/ust-utils.h>
 #include <lttng/ust-ringbuffer-context.h>
 
-#include "smp.h"
+#include "common/smp.h"
 #include "ringbuffer-config.h"
 #include "vatomic.h"
 #include "backend.h"
@@ -78,6 +78,8 @@
 /*
  * Non-static to ensure the compiler does not optimize away the xor.
  */
+uint8_t lttng_crash_magic_xor[]
+       __attribute__((visibility("hidden")));
 uint8_t lttng_crash_magic_xor[] = RB_CRASH_DUMP_ABI_MAGIC_XOR;
 
 /*
This page took 0.022957 seconds and 4 git commands to generate.