Fix: sessiond: ODR violation results in memory corruption
[lttng-tools.git] / src / common / lttng-elf.cpp
index ba8d80bb5abef8f4678343a2c3570157da59ecfc..e6b8624386914a38de270fbfbb5a45808d0fe6c1 100644 (file)
 #define EV_NUM 2
 #endif
 
+namespace {
 struct lttng_elf_ehdr {
        uint16_t e_type;
        uint16_t e_machine;
@@ -188,6 +189,7 @@ struct lttng_elf_sym {
        uint64_t st_value;
        uint64_t st_size;
 };
+} /* namespace */
 
 struct lttng_elf {
        int fd;
This page took 0.023579 seconds and 4 git commands to generate.