Fix: sessiond: ODR violation results in memory corruption
[lttng-tools.git] / src / bin / lttng-sessiond / client.cpp
index 37ea0509a2c3a71b8897b30d24a77b0859ff5064..1f94bdad8954f94a7aa06c1576dec4668b6141e0 100644 (file)
 #include "testpoint.hpp"
 #include "utils.hpp"
 
-static bool is_root;
+namespace {
+bool is_root;
 
-static struct thread_state {
+struct thread_state {
        sem_t ready;
        bool running;
        int client_sock;
 } thread_state;
+} /* namespace */
 
 static void set_thread_status(bool running)
 {
This page took 0.023121 seconds and 4 git commands to generate.