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
/
actions
/
list.cpp
diff --git
a/src/common/actions/list.cpp
b/src/common/actions/list.cpp
index e524399adf499b7ebf57833bf53e7183acdbcb06..1d962152b0e825e9b422542d7d37126c9de5e18b 100644
(file)
--- a/
src/common/actions/list.cpp
+++ b/
src/common/actions/list.cpp
@@
-18,6
+18,7
@@
#define IS_LIST_ACTION(action) \
(lttng_action_get_type(action) == LTTNG_ACTION_TYPE_LIST)
#define IS_LIST_ACTION(action) \
(lttng_action_get_type(action) == LTTNG_ACTION_TYPE_LIST)
+namespace {
struct lttng_action_list {
struct lttng_action parent;
struct lttng_action_list {
struct lttng_action parent;
@@
-33,6
+34,7
@@
struct lttng_action_list_comm {
*/
char data[];
} LTTNG_PACKED;
*/
char data[];
} LTTNG_PACKED;
+} /* namespace */
static void destroy_lttng_action_list_element(void *ptr)
{
static void destroy_lttng_action_list_element(void *ptr)
{
This page took
0.024362 seconds
and
4
git commands to generate.