sessiond: make thread_rotation function static
authorSimon Marchi <simon.marchi@efficios.com>
Mon, 25 Nov 2019 20:44:15 +0000 (15:44 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 3 Dec 2019 19:36:32 +0000 (14:36 -0500)
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 <simon.marchi@efficios.com>
Change-Id: Ia95212a53c658bce5dc6df155eb43ee29b7980c6
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/bin/lttng-sessiond/rotation-thread.c

index 16c64cbf9f20f8a51065d9571897745c3e48e589..659d8431dd39aec39dbcd7cba7eac3d4927b1ace 100644 (file)
@@ -769,6 +769,7 @@ end:
        return ret;
 }
 
+static
 void *thread_rotation(void *data)
 {
        int ret;
This page took 0.034253 seconds and 4 git commands to generate.