X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fbin%2Flttng-sessiond%2Ftimer.cpp;h=4e8b8026b2ee7534f01a95826b8f92f89f6b4dd3;hb=c9e313bc594f40a86eed237dce222c0fc99c957f;hp=5a1f35dfa936904f236e7dac108cdf044789f067;hpb=7966af5763c4aaca39df9bbfa9277ff15715c720;p=lttng-tools.git diff --git a/src/bin/lttng-sessiond/timer.cpp b/src/bin/lttng-sessiond/timer.cpp index 5a1f35dfa..4e8b8026b 100644 --- a/src/bin/lttng-sessiond/timer.cpp +++ b/src/bin/lttng-sessiond/timer.cpp @@ -10,10 +10,10 @@ #include #include -#include "timer.h" -#include "health-sessiond.h" -#include "rotation-thread.h" -#include "thread.h" +#include "timer.hpp" +#include "health-sessiond.hpp" +#include "rotation-thread.hpp" +#include "thread.hpp" #define LTTNG_SESSIOND_SIG_QS SIGRTMIN + 10 #define LTTNG_SESSIOND_SIG_EXIT SIGRTMIN + 11 @@ -406,7 +406,7 @@ end: } static -bool shutdown_timer_thread(void *data) +bool shutdown_timer_thread(void *data __attribute__((unused))) { return kill(getpid(), LTTNG_SESSIOND_SIG_EXIT) == 0; }