Mark lib_ring_buffer_print_errors unused
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 13 Feb 2012 19:33:24 +0000 (14:33 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 13 Feb 2012 19:33:24 +0000 (14:33 -0500)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
libringbuffer/ring_buffer_frontend.c

index d0649f3e36b9e33b0e1b247854fd6a2c000f714a..cb9446ea45557dbe9b68c53e97344cf304b5c975 100644 (file)
@@ -92,7 +92,8 @@ __thread unsigned int lib_ring_buffer_nesting;
 static
 void lib_ring_buffer_print_errors(struct channel *chan,
                                  struct lttng_ust_lib_ring_buffer *buf, int cpu,
-                                 struct lttng_ust_shm_handle *handle);
+                                 struct lttng_ust_shm_handle *handle)
+       __attribute__((unused));
 
 /**
  * lib_ring_buffer_reset - Reset ring buffer to initial values.
This page took 0.0253 seconds and 4 git commands to generate.