Fix: sessiond: missing include causes multiple conflicting definitions
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 24 Jul 2024 17:14:44 +0000 (17:14 +0000)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 30 Jul 2024 01:26:51 +0000 (01:26 +0000)
commit3e06faf99109742d88c13732c54da07f21c9a93a
treee41e853176d053fd3f58abe3893e6772d02bedfe
parentc1391746082695e0228cb2e7138fb795eaa13bb4
Fix: sessiond: missing include causes multiple conflicting definitions

clang-tidy reports that
/root/lttng-tools/src/bin/lttng-sessiond/ust-ctl-internal.hpp:346:3: error: redefinition of 'LTTNG_PACKED' with a different type: 'struct lttng_ust_ctl_integer_type' vs 'struct lttng_ust_ctl_consumer_channel_attr' [clang-diagnostic-error]
  346 | } LTTNG_PACKED;

Indeed, that header is missing macros.hpp causing LTTNG_PACKED
to be misinterpreted.

Change-Id: I9a0ec916e7ad1c4d926f4d9a33dd6a85fb5b809c
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/bin/lttng-sessiond/ust-ctl-internal.hpp
This page took 0.025012 seconds and 4 git commands to generate.