From 0e0b3d3a4c1ab1c46f0d6878042344b13ac63eee Mon Sep 17 00:00:00 2001 From: Simon Marchi Date: Mon, 25 Nov 2019 15:45:12 -0500 Subject: [PATCH] sessiond: make thread_consumer_management function static MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Fixes: CC manage-consumer.o /home/smarchi/src/lttng-tools/src/bin/lttng-sessiond/manage-consumer.c:64:7: error: no previous declaration for ‘thread_consumer_management’ [-Werror=missing-declarations] void *thread_consumer_management(void *data) ^~~~~~~~~~~~~~~~~~~~~~~~~~ Signed-off-by: Simon Marchi Change-Id: Id28f40244e12a618749cc618466fc31d6d773378 Signed-off-by: Jérémie Galarneau --- src/bin/lttng-sessiond/manage-consumer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/lttng-sessiond/manage-consumer.c b/src/bin/lttng-sessiond/manage-consumer.c index c87a43f6e..9f3eca324 100644 --- a/src/bin/lttng-sessiond/manage-consumer.c +++ b/src/bin/lttng-sessiond/manage-consumer.c @@ -61,7 +61,7 @@ static void wait_until_thread_is_ready(struct thread_notifiers *notifiers) /* * This thread manage the consumer error sent back to the session daemon. */ -void *thread_consumer_management(void *data) +static void *thread_consumer_management(void *data) { int sock = -1, i, ret, pollfd, err = -1, should_quit = 0; uint32_t revents, nb_fd; -- 2.34.1