Remove extern "C" from internal headers
authorSimon Marchi <simon.marchi@efficios.com>
Fri, 15 Oct 2021 19:55:28 +0000 (15:55 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 18 Nov 2021 00:17:31 +0000 (19:17 -0500)
commitb66cbf1731486ab4dc7e0b2e1c3fa05cc5360c19
tree9aba7750fcc37ece0f51cc71150adda244a6c090
parent729c1fec5976af17fded2f026725a08ef1924290
Remove extern "C" from internal headers

All internal code is now compiled as C++, we can now remove all 'extern
"C"' declarations from internal headers.  This means files will see each
other's declarations as C++, and we can now use things in headers.

Remove the min/min_t/max/max_t macros from macros.h as well.

Change-Id: I5a6b7ef60be5f46160c6d5ca39f082d2137d5a07
Signed-off-by: Simon Marchi <simon.marchi@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
82 files changed:
include/lttng/action/action-internal.h
include/lttng/action/list-internal.h
include/lttng/action/path-internal.h
include/lttng/action/rate-policy-internal.h
include/lttng/condition/buffer-usage-internal.h
include/lttng/condition/condition-internal.h
include/lttng/condition/event-rule-matches-internal.h
include/lttng/condition/session-consumed-size-internal.h
include/lttng/condition/session-rotation-internal.h
include/lttng/domain-internal.h
include/lttng/error-query-internal.h
include/lttng/event-expr-internal.h
include/lttng/event-internal.h
include/lttng/event-rule/event-rule-internal.h
include/lttng/event-rule/kernel-syscall-internal.h
include/lttng/health-internal.h
include/lttng/kernel-probe-internal.h
include/lttng/location-internal.h
include/lttng/log-level-rule-internal.h
include/lttng/notification/notification-internal.h
include/lttng/session-descriptor-internal.h
include/lttng/trigger/trigger-internal.h
include/lttng/userspace-probe-internal.h
src/bin/lttng-sessiond/condition-internal.h
src/bin/lttng-sessiond/ust-ctl-internal.h
src/bin/lttng/loglevel.h
src/common/buffer-view.h
src/common/bytecode/bytecode.h
src/common/compat/directory-handle.h
src/common/compat/fcntl.h
src/common/compat/poll.h
src/common/config/ini.h
src/common/config/session-config.h
src/common/consumer/consumer-metadata-cache.h
src/common/consumer/consumer-stream.h
src/common/consumer/consumer-timer.h
src/common/consumer/consumer.h
src/common/consumer/metadata-bucket.h
src/common/context.h
src/common/credentials.h
src/common/daemonize.h
src/common/defaults.h
src/common/dynamic-array.h
src/common/dynamic-buffer.h
src/common/error.h
src/common/fd-handle.h
src/common/fd-tracker/fd-tracker.h
src/common/fd-tracker/utils.h
src/common/filter.h
src/common/filter/filter-ast.h
src/common/fs-handle.h
src/common/futex.h
src/common/hashtable/hashtable.h
src/common/hashtable/utils.h
src/common/index-allocator.h
src/common/index/index.h
src/common/kernel-consumer/kernel-consumer.h
src/common/kernel-ctl/kernel-ctl.h
src/common/macros.h
src/common/mi-lttng.h
src/common/payload-view.h
src/common/payload.h
src/common/pipe.h
src/common/readwrite.h
src/common/relayd/relayd.h
src/common/runas.h
src/common/sessiond-comm/inet.h
src/common/sessiond-comm/sessiond-comm.h
src/common/shm.h
src/common/spawn-viewer.h
src/common/string-utils/string-utils.h
src/common/testpoint/testpoint.h
src/common/time.h
src/common/trace-chunk-registry.h
src/common/trace-chunk.h
src/common/tracker.h
src/common/unix.h
src/common/uri.h
src/common/ust-consumer/ust-consumer.h
src/common/utils.h
src/common/uuid.h
src/common/waiter.h
This page took 0.032144 seconds and 4 git commands to generate.