fix: redundant decl of channel_destroy (-Wredundant-decls)
authorMichael Jeanson <mjeanson@efficios.com>
Wed, 24 Mar 2021 23:05:55 +0000 (19:05 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 30 Mar 2021 16:31:23 +0000 (12:31 -0400)
Change-Id: If1ebe0225a848936bf94fb98edf19884909295ee
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
liblttng-ust/lttng-events.c
liblttng-ust/lttng-ust-abi.c
libringbuffer/frontend.h
libringbuffer/frontend_internal.h
libringbuffer/shm.h

index 6da3a1c93d3c2c9fd4be2055508223428d9e13d7..e92d057490a93bdaad274721c85a5a3084ffc63f 100644 (file)
@@ -54,6 +54,7 @@
 #include "wait.h"
 #include "../libringbuffer/shm.h"
 #include "../libringbuffer/frontend_types.h"
+#include "../libringbuffer/frontend.h"
 #include "../libcounter/counter.h"
 #include "jhash.h"
 #include <lttng/ust-abi.h>
index df404de77e76d5a1c876a27e9a6c34819bc637b4..77d2a06ffb2ca919f56148c1864b63600914802c 100644 (file)
@@ -39,6 +39,7 @@
 #include <usterr-signal-safe.h>
 
 #include "../libringbuffer/frontend_types.h"
+#include "../libringbuffer/frontend.h"
 #include "../libringbuffer/shm.h"
 #include "../libcounter/counter.h"
 #include "tracepoint-internal.h"
index 5e1ada15677d6aa1db611625631a4b7130bc38f7..c337eecab27316eef3e8bb95fefeb71b81d8395a 100644 (file)
@@ -59,7 +59,6 @@ struct lttng_ust_shm_handle *channel_create(const struct lttng_ust_lib_ring_buff
  * release all references, and destroys the channel.
  */
 __attribute__((visibility("hidden")))
-extern
 void channel_destroy(struct lttng_ust_lib_ring_buffer_channel *chan,
                struct lttng_ust_shm_handle *handle,
                int consumer);
index 6e9d8be2f1c988362de1e21200a8968d462f7005..c0be36f5168674c9a2dd1544de770e745bc25b0f 100644 (file)
@@ -20,6 +20,7 @@
 #include <lttng/ringbuffer-context.h>
 #include "ringbuffer-config.h"
 #include "backend_types.h"
+#include "backend_internal.h"
 #include "frontend_types.h"
 #include "shm.h"
 
index dab0b68d561b9ce1a05df0bc421f5ebb9a20e144..4889d6d62a0b9adb6cc453ec65851dde8369a398 100644 (file)
@@ -30,12 +30,6 @@ int channel_handle_add_stream(struct lttng_ust_shm_handle *handle,
 __attribute__((visibility("hidden")))
 unsigned int channel_handle_get_nr_streams(struct lttng_ust_shm_handle *handle);
 
-__attribute__((visibility("hidden")))
-extern
-void channel_destroy(struct lttng_ust_lib_ring_buffer_channel *chan,
-               struct lttng_ust_shm_handle *handle,
-               int consumer);
-
 /*
  * Pointer dereferencing. We don't trust the shm_ref, so we validate
  * both the index and offset with known boundaries.
This page took 0.027078 seconds and 4 git commands to generate.