Fix: sessiond: ODR violation results in memory corruption
[lttng-tools.git] / src / bin / lttng-sessiond / register.cpp
index aac16b183cfb3aae0f6b6519e4b946cbf6bfe289..f6aaef623f23369328ec1fc61b1748b12ed177e0 100644 (file)
@@ -24,6 +24,7 @@
 #include "utils.hpp"
 #include "thread.hpp"
 
+namespace {
 struct thread_state {
        struct lttng_pipe *quit_pipe;
        struct ust_cmd_queue *ust_cmd_queue;
@@ -31,6 +32,7 @@ struct thread_state {
        bool running;
        int application_socket;
 };
+} /* namespace */
 
 /*
  * Creates the application socket.
This page took 0.023197 seconds and 4 git commands to generate.