Introduce API compatibility macros
[lttng-ust.git] / src / lib / lttng-ust / lttng-context-perf-counters.c
index e1ce489030b688b3c529af2eb21c068cd7ce9756..328980c486d13db75703db9205c685523425427d 100644 (file)
@@ -21,7 +21,7 @@
 #include <lttng/ust-arch.h>
 #include <lttng/ust-events.h>
 #include <lttng/ust-tracer.h>
-#include <lttng/ringbuffer-context.h>
+#include <lttng/ust-ringbuffer-context.h>
 #include <urcu/system.h>
 #include <urcu/arch.h>
 #include <urcu/rculist.h>
@@ -262,7 +262,7 @@ uint64_t arch_read_perf_counter(
 }
 
 static
-int arch_perf_keep_fd(struct lttng_perf_counter_thread_field *thread_field)
+int arch_perf_keep_fd(struct lttng_perf_counter_thread_field *thread_field __attribute__((unused)))
 {
        return 1;
 }
This page took 0.026611 seconds and 4 git commands to generate.