From 027a694fd396114812d927115f3561088e1b769f Mon Sep 17 00:00:00 2001 From: Mathieu Desnoyers Date: Mon, 24 Aug 2015 15:04:03 -0400 Subject: [PATCH] Cleanup: privatize consumer_allocate_relayd_sock_pair MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Only used in a single compilation unit. Signed-off-by: Mathieu Desnoyers Signed-off-by: Jérémie Galarneau --- src/common/consumer.c | 2 +- src/common/consumer.h | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/common/consumer.c b/src/common/consumer.c index f2ccf9536..c34f47c33 100644 --- a/src/common/consumer.c +++ b/src/common/consumer.c @@ -713,7 +713,7 @@ end: /* * Allocate and return a consumer relayd socket. */ -struct consumer_relayd_sock_pair *consumer_allocate_relayd_sock_pair( +static struct consumer_relayd_sock_pair *consumer_allocate_relayd_sock_pair( uint64_t net_seq_idx) { struct consumer_relayd_sock_pair *obj = NULL; diff --git a/src/common/consumer.h b/src/common/consumer.h index ac3b4903f..c7ef3fb38 100644 --- a/src/common/consumer.h +++ b/src/common/consumer.h @@ -631,8 +631,6 @@ int consumer_add_channel(struct lttng_consumer_channel *channel, void consumer_del_channel(struct lttng_consumer_channel *channel); /* lttng-relayd consumer command */ -struct consumer_relayd_sock_pair *consumer_allocate_relayd_sock_pair( - uint64_t net_seq_idx); struct consumer_relayd_sock_pair *consumer_find_relayd(uint64_t key); int consumer_send_relayd_stream(struct lttng_consumer_stream *stream, char *path); int consumer_send_relayd_streams_sent(uint64_t net_seq_idx); -- 2.34.1