projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: sessiond: ODR violation results in memory corruption
[lttng-tools.git]
/
src
/
common
/
snapshot.cpp
diff --git
a/src/common/snapshot.cpp
b/src/common/snapshot.cpp
index 618196dd86f02b30f46f207cb95653bf8c3a86a7..191f484c255b0d5a9669737b07e6fff8b3c535cb 100644
(file)
--- a/
src/common/snapshot.cpp
+++ b/
src/common/snapshot.cpp
@@
-77,6
+77,7
@@
end:
return equal;
}
return equal;
}
+namespace {
/*
* This is essentially the same as `struct lttng_snapshot_output`, but packed.
*/
/*
* 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;
char ctrl_url[PATH_MAX];
char data_url[PATH_MAX];
} LTTNG_PACKED;
+} /* namespace */
int lttng_snapshot_output_serialize(
const struct lttng_snapshot_output *output,
int lttng_snapshot_output_serialize(
const struct lttng_snapshot_output *output,
This page took
0.02364 seconds
and
4
git commands to generate.