Fix: sessiond: ODR violation results in memory corruption
[lttng-tools.git] / src / common / actions / list.cpp
index e524399adf499b7ebf57833bf53e7183acdbcb06..1d962152b0e825e9b422542d7d37126c9de5e18b 100644 (file)
@@ -18,6 +18,7 @@
 #define IS_LIST_ACTION(action) \
        (lttng_action_get_type(action) == LTTNG_ACTION_TYPE_LIST)
 
+namespace {
 struct lttng_action_list {
        struct lttng_action parent;
 
@@ -33,6 +34,7 @@ struct lttng_action_list_comm {
         */
        char data[];
 } LTTNG_PACKED;
+} /* namespace */
 
 static void destroy_lttng_action_list_element(void *ptr)
 {
This page took 0.025454 seconds and 4 git commands to generate.