Fix: sessiond: ODR violation results in memory corruption
[lttng-tools.git] / src / common / snapshot.cpp
index 618196dd86f02b30f46f207cb95653bf8c3a86a7..191f484c255b0d5a9669737b07e6fff8b3c535cb 100644 (file)
@@ -77,6 +77,7 @@ end:
        return equal;
 }
 
+namespace {
 /*
  * This is essentially the same as `struct lttng_snapshot_output`, but packed.
  */
@@ -87,6 +88,7 @@ struct lttng_snapshot_output_comm {
        char ctrl_url[PATH_MAX];
        char data_url[PATH_MAX];
 } LTTNG_PACKED;
+} /* namespace */
 
 int lttng_snapshot_output_serialize(
                const struct lttng_snapshot_output *output,
This page took 0.023967 seconds and 4 git commands to generate.