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