Clean-up: kernel_consumer_add_stream() does not need to be public
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 9 May 2018 01:38:57 +0000 (21:38 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 9 May 2018 01:38:57 +0000 (21:38 -0400)
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 247894968534e0fdcaf53fdffaaa2b7d57a8ff19..49adabb72336b11d0255e3a1f1d2462b0a70601a 100644 (file)
@@ -277,6 +277,7 @@ error:
 /*
  * Sending a single stream to the consumer with command ADD_STREAM.
  */
+static
 int kernel_consumer_add_stream(struct consumer_socket *sock,
                struct ltt_kernel_channel *channel, struct ltt_kernel_stream *stream,
                struct ltt_kernel_session *session, unsigned int monitor)
index 11574de6132b2f6c354093634276236fd0e481e0..64f000e5bc184dca6229e4b9a3816141d8a09917 100644 (file)
@@ -28,10 +28,6 @@ int kernel_consumer_send_channel_streams(struct consumer_socket *sock,
 int kernel_consumer_send_session(struct consumer_socket *sock,
                struct ltt_kernel_session *session);
 
-int kernel_consumer_add_stream(struct consumer_socket *sock,
-               struct ltt_kernel_channel *channel, struct ltt_kernel_stream *stream,
-               struct ltt_kernel_session *session, unsigned int monitor);
-
 int kernel_consumer_add_metadata(struct consumer_socket *sock,
                struct ltt_kernel_session *session, unsigned int monitor);
 
This page took 0.028399 seconds and 5 git commands to generate.