Remove unnecessary inclusions of "internal public" headers
authorSimon Marchi <simon.marchi@efficios.com>
Tue, 28 Nov 2023 20:40:47 +0000 (15:40 -0500)
committerSimon Marchi <simon.marchi@efficios.com>
Fri, 1 Dec 2023 00:07:34 +0000 (19:07 -0500)
commitc555effe83f92c839995d9eaeccdadce41da996b
tree754f4f28fa6298949c4bed5c509f48ebc03515b0
parent0121936a17b5964dd23e8dc291b1371d59de399f
Remove unnecessary inclusions of "internal public" headers

I believe that these spots don't really need to include files from
babeltrace2 other than babeltrace.h.  In fact, given the presence of:

    #ifndef __BT_IN_BABELTRACE_H
    # error "Please include <babeltrace2/babeltrace.h> instead."
    #endif

in those "internal public" header files and the fact that the including
files don't define __BT_IN_BABELTRACE_H, I believe that those inclusions
don't have an effect.  It must be that the included file was already
included earlier, as part of babeltrace.h.

Change-Id: I9f88123f12f916dea8c90641dd7b32c531f5c707
Signed-off-by: Simon Marchi <simon.marchi@efficios.com>
Reviewed-on: https://review.lttng.org/c/babeltrace/+/11458
Tested-by: jenkins <jenkins@lttng.org>
Reviewed-by: Philippe Proulx <eeppeliteloop@gmail.com>
13 files changed:
src/cli/babeltrace2-cfg-cli-args-connect.h
src/cli/babeltrace2-cfg-cli-args.h
src/cli/babeltrace2-cfg.h
src/ctf-writer/clock-class.c
src/ctf-writer/event-class.c
src/ctf-writer/fields.h
src/ctf-writer/resolve.c
src/ctf-writer/trace.c
src/ctf-writer/trace.h
src/ctf-writer/values.c
src/ctfser/ctfser.h
src/plugins/ctf/lttng-live/lttng-live.cpp
src/plugins/lttng-utils/debug-info/bin-info.c
This page took 0.025135 seconds and 4 git commands to generate.