From 2c0c9bbc39323735300b285d2c8a596eeaeb5c15 Mon Sep 17 00:00:00 2001 From: Simon Marchi Date: Mon, 25 Nov 2019 15:44:15 -0500 Subject: [PATCH] sessiond: make thread_rotation function static MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Fixes: CC rotation-thread.o /home/smarchi/src/lttng-tools/src/bin/lttng-sessiond/rotation-thread.c:799:7: error: no previous declaration for ‘thread_rotation’ [-Werror=missing-declarations] void *thread_rotation(void *data) ^~~~~~~~~~~~~~~ Signed-off-by: Simon Marchi Change-Id: Ia95212a53c658bce5dc6df155eb43ee29b7980c6 Signed-off-by: Jérémie Galarneau --- src/bin/lttng-sessiond/rotation-thread.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/bin/lttng-sessiond/rotation-thread.c b/src/bin/lttng-sessiond/rotation-thread.c index 16c64cbf9..659d8431d 100644 --- a/src/bin/lttng-sessiond/rotation-thread.c +++ b/src/bin/lttng-sessiond/rotation-thread.c @@ -769,6 +769,7 @@ end: return ret; } +static void *thread_rotation(void *data) { int ret; -- 2.34.1