Fix: sessiond: ODR violation results in memory corruption
[lttng-tools.git] / src / bin / lttng / commands / track-untrack.cpp
index de377430ca51388968f040eb128e36a998ba458a..8e9bec149e7cb3f881d30b829491edad59595a2b 100644 (file)
 
 #include <urcu/list.h>
 
-#include <common/dynamic-array.h>
-#include <common/mi-lttng.h>
-#include <common/optional.h>
-#include <common/dynamic-buffer.h>
-#include <common/tracker.h>
+#include <common/dynamic-array.hpp>
+#include <common/mi-lttng.hpp>
+#include <common/optional.hpp>
+#include <common/dynamic-buffer.hpp>
+#include <common/tracker.hpp>
 
 #include <lttng/lttng.h>
 
-#include "../command.h"
+#include "../command.hpp"
 
+namespace {
 struct process_attr_command_args {
        enum lttng_process_attr process_attr;
        /* Present in the user's command. */
@@ -37,6 +38,7 @@ struct process_attr_command_args {
        bool all;
        struct lttng_dynamic_pointer_array string_args;
 };
+} /* namespace */
 
 enum cmd_type {
        CMD_TRACK,
This page took 0.025978 seconds and 4 git commands to generate.