From: Simon Marchi Date: Mon, 25 Nov 2019 20:45:12 +0000 (-0500) Subject: sessiond: make thread_consumer_management function static X-Git-Tag: v2.12.0-rc1~192 X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=commitdiff_plain;h=0e0b3d3a4c1ab1c46f0d6878042344b13ac63eee sessiond: make thread_consumer_management function static 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 --- 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;