Fix: sessiond: ODR violation results in memory corruption
[lttng-tools.git] / src / common / actions / rate-policy.cpp
index 25f8e4083387b11a53f0a74e92c4b6bcb4290306..c9c7a05197c2cbea1d8f8be4c8d30c8f2f07b1a1 100644 (file)
@@ -48,6 +48,7 @@ struct lttng_rate_policy {
        rate_policy_mi_serialize_cb mi_serialize;
 };
 
+namespace {
 struct lttng_rate_policy_every_n {
        struct lttng_rate_policy parent;
        uint64_t interval;
@@ -70,6 +71,7 @@ struct lttng_rate_policy_once_after_n_comm {
 struct lttng_rate_policy_every_n_comm {
        uint64_t interval;
 } LTTNG_PACKED;
+} /* namespace */
 
 /* Forward declaration. */
 static void lttng_rate_policy_init(struct lttng_rate_policy *rate_policy,
This page took 0.022998 seconds and 4 git commands to generate.