Clean-up: hide internal kernel_consumer_add_channel() symbol
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 26 Feb 2019 16:21:14 +0000 (11:21 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 28 Mar 2019 19:52:47 +0000 (15:52 -0400)
kernel_consumer_add_channel() is not used outside of
kernel-consumer.c.

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/bin/lttng-sessiond/kernel-consumer.c
src/bin/lttng-sessiond/kernel-consumer.h

index 9ccad8be4e87dd19cd4e0212acbbd64c4330a4af..1368dc16385ce81aa6737dbf95d3e8ace00097f1 100644 (file)
@@ -107,6 +107,7 @@ error:
 /*
  * Sending a single channel to the consumer with command ADD_CHANNEL.
  */
+static
 int kernel_consumer_add_channel(struct consumer_socket *sock,
                struct ltt_kernel_channel *channel,
                struct ltt_kernel_session *ksession,
index 64f000e5bc184dca6229e4b9a3816141d8a09917..16b335af7f2bc01c08ce17056538fc88206105b4 100644 (file)
@@ -31,10 +31,6 @@ int kernel_consumer_send_session(struct consumer_socket *sock,
 int kernel_consumer_add_metadata(struct consumer_socket *sock,
                struct ltt_kernel_session *session, unsigned int monitor);
 
-int kernel_consumer_add_channel(struct consumer_socket *sock,
-               struct ltt_kernel_channel *channel, struct ltt_kernel_session *session,
-               unsigned int monitor);
-
 int kernel_consumer_destroy_channel(struct consumer_socket *socket,
                struct ltt_kernel_channel *channel);
 
This page took 0.027906 seconds and 4 git commands to generate.