From 9d408fcae74602e3591f66623ceb85f482d948ed Mon Sep 17 00:00:00 2001 From: Philippe Proulx Date: Tue, 5 Sep 2017 19:58:22 -0400 Subject: [PATCH] Avoid unnecessary inclusions in public headers MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Featured in this patch: * In public headers, only include what is really needed by the declarations of the header itself. Copy forward declarations when possible instead of including just for the included file's forward declaration. Also indicate above each included header why it is included to justify it. This should prevent future bugs where we could, for example, remove an included header to replace it by a forward declaration, breaking some builds which relied on indirect inclusion (e.g. my project does not need to include because it includes ). * Make all the plugin C source/header files include instead of a bunch of public headers. This does not significantly increase the build time while making the source file much cleaner. Signed-off-by: Philippe Proulx Signed-off-by: Jérémie Galarneau --- include/babeltrace/ctf-ir/clock-class.h | 2 ++ include/babeltrace/ctf-ir/clock-value.h | 1 - include/babeltrace/ctf-ir/event-class.h | 3 +- include/babeltrace/ctf-ir/event.h | 5 +-- include/babeltrace/ctf-ir/field-path.h | 3 +- include/babeltrace/ctf-ir/field-types.h | 2 ++ include/babeltrace/ctf-ir/fields.h | 5 ++- include/babeltrace/ctf-ir/stream-class.h | 2 ++ include/babeltrace/ctf-ir/stream.h | 3 +- include/babeltrace/ctf-ir/trace.h | 9 ++++-- include/babeltrace/ctf-ir/utils.h | 1 + .../graph/clock-class-priority-map.h | 4 +-- .../babeltrace/graph/component-class-filter.h | 3 +- .../babeltrace/graph/component-class-sink.h | 4 ++- .../babeltrace/graph/component-class-source.h | 3 +- include/babeltrace/graph/component-class.h | 8 +++++ include/babeltrace/graph/component-filter.h | 1 - include/babeltrace/graph/component-sink.h | 2 -- include/babeltrace/graph/component-source.h | 2 -- include/babeltrace/graph/component.h | 6 ++-- include/babeltrace/graph/connection.h | 1 + include/babeltrace/graph/graph.h | 4 ++- include/babeltrace/graph/notification-heap.h | 13 +++++++- .../babeltrace/graph/notification-packet.h | 3 +- .../babeltrace/graph/notification-stream.h | 6 ++-- .../graph/output-port-notification-iterator.h | 3 ++ include/babeltrace/graph/port.h | 2 ++ .../graph/private-component-filter.h | 4 ++- .../babeltrace/graph/private-component-sink.h | 4 ++- .../graph/private-component-source.h | 4 ++- include/babeltrace/graph/private-component.h | 3 +- include/babeltrace/graph/private-connection.h | 4 ++- include/babeltrace/graph/query-executor.h | 1 + include/babeltrace/logging.h | 1 - include/babeltrace/plugin/plugin-dev.h | 4 +++ include/babeltrace/plugin/plugin.h | 6 +++- include/babeltrace/values.h | 3 +- include/babeltrace/version.h | 8 +++++ lib/ctf-ir/attributes.c | 1 + lib/graph/component-class-sink-colander.c | 3 ++ lib/graph/notification/packet.c | 1 + lib/graph/notification/stream.c | 1 + plugins/ctf/common/btr/btr.c | 2 +- plugins/ctf/common/btr/btr.h | 2 +- plugins/ctf/common/metadata/ast.h | 2 +- plugins/ctf/common/metadata/decoder.c | 2 +- .../ctf/common/metadata/visitor-generate-ir.c | 8 +---- plugins/ctf/common/notif-iter/notif-iter.c | 14 +------- plugins/ctf/common/notif-iter/notif-iter.h | 5 +-- plugins/ctf/common/utils/utils.h | 4 +-- plugins/ctf/fs-sink/write.c | 10 +----- plugins/ctf/fs-sink/writer.c | 15 +-------- plugins/ctf/fs-sink/writer.h | 3 +- plugins/ctf/fs-src/data-stream-file.c | 6 +--- plugins/ctf/fs-src/data-stream-file.h | 2 +- plugins/ctf/fs-src/fs.c | 12 +------ plugins/ctf/fs-src/fs.h | 3 +- plugins/ctf/fs-src/metadata.c | 1 + plugins/ctf/fs-src/metadata.h | 2 +- plugins/ctf/fs-src/query.c | 2 +- plugins/ctf/fs-src/query.h | 3 +- plugins/ctf/lttng-live/data-stream.c | 2 +- plugins/ctf/lttng-live/data-stream.h | 2 +- plugins/ctf/lttng-live/lttng-live-internal.h | 5 +-- plugins/ctf/lttng-live/lttng-live.c | 15 +-------- plugins/ctf/lttng-live/metadata.c | 2 +- plugins/ctf/lttng-live/metadata.h | 2 +- plugins/ctf/lttng-live/viewer-connection.c | 2 +- plugins/ctf/plugin.c | 2 +- plugins/libctfcopytrace/clock-fields.c | 10 +----- plugins/libctfcopytrace/clock-fields.h | 2 +- plugins/libctfcopytrace/ctfcopytrace.c | 9 +----- plugins/libctfcopytrace/ctfcopytrace.h | 3 +- plugins/lttng-utils/copy.c | 10 +----- plugins/lttng-utils/copy.h | 3 +- plugins/lttng-utils/debug-info.h | 5 +-- plugins/lttng-utils/plugin.c | 14 +------- plugins/text/dmesg/dmesg.h | 3 +- plugins/text/plugin.c | 2 +- plugins/text/pretty/pretty.c | 13 +------- plugins/text/pretty/pretty.h | 5 +-- plugins/text/pretty/print.c | 14 +------- plugins/utils/counter/counter.c | 15 +-------- plugins/utils/counter/counter.h | 4 +-- plugins/utils/dummy/dummy.c | 12 +------ plugins/utils/dummy/dummy.h | 5 +-- plugins/utils/muxer/muxer.c | 20 ++---------- plugins/utils/plugin.c | 2 +- plugins/utils/trimmer/copy.c | 10 +----- plugins/utils/trimmer/copy.h | 4 +-- plugins/utils/trimmer/iterator.c | 20 +----------- plugins/utils/trimmer/iterator.h | 5 +-- plugins/utils/trimmer/trimmer.c | 10 +----- plugins/utils/trimmer/trimmer.h | 3 +- tests/lib/test_bt_ctf_field_type_validation.c | 1 + tests/lib/test_bt_values.c | 1 + tests/lib/test_cc_prio_map.c | 1 + tests/lib/test_graph_topo.c | 1 + tests/lib/test_ir_visit.c | 1 + tests/plugins/test-utils-muxer.c | 32 +------------------ 100 files changed, 169 insertions(+), 350 deletions(-) diff --git a/include/babeltrace/ctf-ir/clock-class.h b/include/babeltrace/ctf-ir/clock-class.h index 1fb918fd..d399d137 100644 --- a/include/babeltrace/ctf-ir/clock-class.h +++ b/include/babeltrace/ctf-ir/clock-class.h @@ -32,6 +32,8 @@ */ #include + +/* For bt_bool */ #include #ifdef __cplusplus diff --git a/include/babeltrace/ctf-ir/clock-value.h b/include/babeltrace/ctf-ir/clock-value.h index e7b91a9c..d0464d36 100644 --- a/include/babeltrace/ctf-ir/clock-value.h +++ b/include/babeltrace/ctf-ir/clock-value.h @@ -32,7 +32,6 @@ */ #include -#include #ifdef __cplusplus extern "C" { diff --git a/include/babeltrace/ctf-ir/event-class.h b/include/babeltrace/ctf-ir/event-class.h index 8a3b334b..e4f587d5 100644 --- a/include/babeltrace/ctf-ir/event-class.h +++ b/include/babeltrace/ctf-ir/event-class.h @@ -32,12 +32,13 @@ #include #include -#include #ifdef __cplusplus extern "C" { #endif +struct bt_value; + /** @defgroup ctfireventclass CTF IR event class @ingroup ctfir diff --git a/include/babeltrace/ctf-ir/event.h b/include/babeltrace/ctf-ir/event.h index d42cc91d..abd48d4b 100644 --- a/include/babeltrace/ctf-ir/event.h +++ b/include/babeltrace/ctf-ir/event.h @@ -32,13 +32,14 @@ #include #include -#include -#include #ifdef __cplusplus extern "C" { #endif +struct bt_value; +struct bt_ctf_clock_class; + /** @defgroup ctfirevent CTF IR event @ingroup ctfir diff --git a/include/babeltrace/ctf-ir/field-path.h b/include/babeltrace/ctf-ir/field-path.h index a9100a11..45f681fb 100644 --- a/include/babeltrace/ctf-ir/field-path.h +++ b/include/babeltrace/ctf-ir/field-path.h @@ -29,12 +29,13 @@ */ #include -#include #ifdef __cplusplus extern "C" { #endif +struct bt_ctf_field_type; + /** @defgroup ctfirfieldpath CTF IR field path @ingroup ctfir diff --git a/include/babeltrace/ctf-ir/field-types.h b/include/babeltrace/ctf-ir/field-types.h index 29928986..69a89e5c 100644 --- a/include/babeltrace/ctf-ir/field-types.h +++ b/include/babeltrace/ctf-ir/field-types.h @@ -30,7 +30,9 @@ * http://www.efficios.com/ctf */ +/* For bt_bool */ #include + #include #include diff --git a/include/babeltrace/ctf-ir/fields.h b/include/babeltrace/ctf-ir/fields.h index 15468f4f..f881e24a 100644 --- a/include/babeltrace/ctf-ir/fields.h +++ b/include/babeltrace/ctf-ir/fields.h @@ -32,13 +32,16 @@ #include #include -#include + +/* For bt_bool */ #include #ifdef __cplusplus extern "C" { #endif +struct bt_ctf_field_type; + /** @defgroup ctfirfields CTF IR fields @ingroup ctfir diff --git a/include/babeltrace/ctf-ir/stream-class.h b/include/babeltrace/ctf-ir/stream-class.h index 64400f52..96a2dee7 100644 --- a/include/babeltrace/ctf-ir/stream-class.h +++ b/include/babeltrace/ctf-ir/stream-class.h @@ -31,6 +31,8 @@ */ #include + +/* For bt_ctf_visitor */ #include #ifdef __cplusplus diff --git a/include/babeltrace/ctf-ir/stream.h b/include/babeltrace/ctf-ir/stream.h index 140970c5..e2aa3ef9 100644 --- a/include/babeltrace/ctf-ir/stream.h +++ b/include/babeltrace/ctf-ir/stream.h @@ -30,13 +30,14 @@ * http://www.efficios.com/ctf */ -#include #include #ifdef __cplusplus extern "C" { #endif +struct bt_ctf_stream_class; + /** @defgroup ctfirstream CTF IR stream @ingroup ctfir diff --git a/include/babeltrace/ctf-ir/trace.h b/include/babeltrace/ctf-ir/trace.h index 34ba4376..09acda62 100644 --- a/include/babeltrace/ctf-ir/trace.h +++ b/include/babeltrace/ctf-ir/trace.h @@ -30,10 +30,10 @@ * http://www.efficios.com/ctf */ -#include +/* For bt_ctf_visitor */ #include -#include -#include + +/* For bt_bool */ #include #include @@ -41,6 +41,9 @@ extern "C" { #endif +struct bt_ctf_field_type; +struct bt_value; + /** @defgroup ctfirtraceclass CTF IR trace class @ingroup ctfir diff --git a/include/babeltrace/ctf-ir/utils.h b/include/babeltrace/ctf-ir/utils.h index d94b215d..a209c5f5 100644 --- a/include/babeltrace/ctf-ir/utils.h +++ b/include/babeltrace/ctf-ir/utils.h @@ -30,6 +30,7 @@ * http://www.efficios.com/ctf */ +/* For bt_bool */ #include #ifdef __cplusplus diff --git a/include/babeltrace/graph/clock-class-priority-map.h b/include/babeltrace/graph/clock-class-priority-map.h index d03b1ea9..949f49de 100644 --- a/include/babeltrace/graph/clock-class-priority-map.h +++ b/include/babeltrace/graph/clock-class-priority-map.h @@ -28,13 +28,13 @@ #include #include -#include -#include #ifdef __cplusplus extern "C" { #endif +struct bt_ctf_clock_class; + /** @defgroup graphclockclassprioritymap Clock class priority map @ingroup graph diff --git a/include/babeltrace/graph/component-class-filter.h b/include/babeltrace/graph/component-class-filter.h index b7e28c12..b27eb376 100644 --- a/include/babeltrace/graph/component-class-filter.h +++ b/include/babeltrace/graph/component-class-filter.h @@ -25,7 +25,8 @@ * SOFTWARE. */ -#include +/* For component class method type definitions */ +#include #ifdef __cplusplus extern "C" { diff --git a/include/babeltrace/graph/component-class-sink.h b/include/babeltrace/graph/component-class-sink.h index fcfd0c50..6e06e1e5 100644 --- a/include/babeltrace/graph/component-class-sink.h +++ b/include/babeltrace/graph/component-class-sink.h @@ -25,13 +25,15 @@ * SOFTWARE. */ -#include +/* For component class method type definitions */ +#include #ifdef __cplusplus extern "C" { #endif struct bt_component_class; +struct bt_private_component; typedef enum bt_component_status (*bt_component_class_sink_consume_method)( struct bt_private_component *private_component); diff --git a/include/babeltrace/graph/component-class-source.h b/include/babeltrace/graph/component-class-source.h index dc69f03f..e0c7ecce 100644 --- a/include/babeltrace/graph/component-class-source.h +++ b/include/babeltrace/graph/component-class-source.h @@ -25,7 +25,8 @@ * SOFTWARE. */ -#include +/* For component class method type definitions */ +#include #ifdef __cplusplus extern "C" { diff --git a/include/babeltrace/graph/component-class.h b/include/babeltrace/graph/component-class.h index a8498ee3..acad8eec 100644 --- a/include/babeltrace/graph/component-class.h +++ b/include/babeltrace/graph/component-class.h @@ -26,9 +26,17 @@ */ #include + +/* For enum bt_component_status */ #include + +/* For enum bt_notification_iterator_status */ #include + +/* For enum bt_query_status */ #include + +/* For bt_bool */ #include #ifdef __cplusplus diff --git a/include/babeltrace/graph/component-filter.h b/include/babeltrace/graph/component-filter.h index 428e39ac..28f4f33b 100644 --- a/include/babeltrace/graph/component-filter.h +++ b/include/babeltrace/graph/component-filter.h @@ -28,7 +28,6 @@ */ #include -#include #ifdef __cplusplus extern "C" { diff --git a/include/babeltrace/graph/component-sink.h b/include/babeltrace/graph/component-sink.h index 207c6c81..a89aa424 100644 --- a/include/babeltrace/graph/component-sink.h +++ b/include/babeltrace/graph/component-sink.h @@ -28,14 +28,12 @@ */ #include -#include #ifdef __cplusplus extern "C" { #endif struct bt_component; -struct bt_notification; extern int64_t bt_component_sink_get_input_port_count( struct bt_component *component); diff --git a/include/babeltrace/graph/component-source.h b/include/babeltrace/graph/component-source.h index a86d6907..9f7ceccf 100644 --- a/include/babeltrace/graph/component-source.h +++ b/include/babeltrace/graph/component-source.h @@ -28,14 +28,12 @@ */ #include -#include #ifdef __cplusplus extern "C" { #endif struct bt_component; -struct bt_notification_iterator; extern int64_t bt_component_source_get_output_port_count( struct bt_component *component); diff --git a/include/babeltrace/graph/component.h b/include/babeltrace/graph/component.h index e9ee5093..7423e92a 100644 --- a/include/babeltrace/graph/component.h +++ b/include/babeltrace/graph/component.h @@ -27,10 +27,10 @@ * SOFTWARE. */ -#include +/* For BT_COMPONENT_CLASS_TYPE_* */ #include -#include -#include + +/* For bt_bool */ #include #ifdef __cplusplus diff --git a/include/babeltrace/graph/connection.h b/include/babeltrace/graph/connection.h index 566d5182..bf10eb5d 100644 --- a/include/babeltrace/graph/connection.h +++ b/include/babeltrace/graph/connection.h @@ -27,6 +27,7 @@ * SOFTWARE. */ +/* For bt_bool */ #include #ifdef __cplusplus diff --git a/include/babeltrace/graph/graph.h b/include/babeltrace/graph/graph.h index f8559784..bb3d84cb 100644 --- a/include/babeltrace/graph/graph.h +++ b/include/babeltrace/graph/graph.h @@ -27,7 +27,7 @@ * SOFTWARE. */ -#include +/* For bt_bool */ #include #ifdef __cplusplus @@ -36,6 +36,8 @@ extern "C" { struct bt_port; struct bt_connection; +struct bt_component; +struct bt_component_class; enum bt_graph_status { BT_GRAPH_STATUS_COMPONENT_REFUSES_PORT_CONNECTION = 111, diff --git a/include/babeltrace/graph/notification-heap.h b/include/babeltrace/graph/notification-heap.h index df912c19..3efb541e 100644 --- a/include/babeltrace/graph/notification-heap.h +++ b/include/babeltrace/graph/notification-heap.h @@ -27,9 +27,16 @@ */ #include -#include + +/* For bt_bool */ #include +#ifdef __cplusplus +extern "C" { +#endif + +struct bt_notification; + /** * bt_notification_time_compare - Compare two notifications' timestamps * @@ -89,4 +96,8 @@ extern struct bt_notification *bt_notification_heap_peek( extern struct bt_notification *bt_notification_heap_pop( struct bt_notification_heap *heap); +#ifdef __cplusplus +} +#endif + #endif /* BABELTRACE_GRAPH_NOTIFICATION_HEAP_H */ diff --git a/include/babeltrace/graph/notification-packet.h b/include/babeltrace/graph/notification-packet.h index 99749e48..3a980910 100644 --- a/include/babeltrace/graph/notification-packet.h +++ b/include/babeltrace/graph/notification-packet.h @@ -27,12 +27,11 @@ * SOFTWARE. */ -#include - #ifdef __cplusplus extern "C" { #endif +struct bt_notification; struct bt_ctf_packet; extern struct bt_notification *bt_notification_packet_begin_create( diff --git a/include/babeltrace/graph/notification-stream.h b/include/babeltrace/graph/notification-stream.h index 1c377c26..c022343b 100644 --- a/include/babeltrace/graph/notification-stream.h +++ b/include/babeltrace/graph/notification-stream.h @@ -27,13 +27,13 @@ * SOFTWARE. */ -#include -#include - #ifdef __cplusplus extern "C" { #endif +struct bt_ctf_notification; +struct bt_ctf_stream; + extern struct bt_notification *bt_notification_stream_begin_create( struct bt_ctf_stream *stream); diff --git a/include/babeltrace/graph/output-port-notification-iterator.h b/include/babeltrace/graph/output-port-notification-iterator.h index 4253f9d3..0fb4c5bc 100644 --- a/include/babeltrace/graph/output-port-notification-iterator.h +++ b/include/babeltrace/graph/output-port-notification-iterator.h @@ -23,6 +23,9 @@ * SOFTWARE. */ +/* For enum bt_notification_type */ +#include + #ifdef __cplusplus extern "C" { #endif diff --git a/include/babeltrace/graph/port.h b/include/babeltrace/graph/port.h index d08e2747..63b057a4 100644 --- a/include/babeltrace/graph/port.h +++ b/include/babeltrace/graph/port.h @@ -28,6 +28,8 @@ */ #include + +/* For bt_bool */ #include #ifdef __cplusplus diff --git a/include/babeltrace/graph/private-component-filter.h b/include/babeltrace/graph/private-component-filter.h index 3ebc0e9c..b9cee60b 100644 --- a/include/babeltrace/graph/private-component-filter.h +++ b/include/babeltrace/graph/private-component-filter.h @@ -24,13 +24,15 @@ */ #include -#include + +/* For enum bt_component_status */ #include #ifdef __cplusplus extern "C" { #endif +struct bt_component; struct bt_private_component; struct bt_private_port; diff --git a/include/babeltrace/graph/private-component-sink.h b/include/babeltrace/graph/private-component-sink.h index b122b5b9..853cff26 100644 --- a/include/babeltrace/graph/private-component-sink.h +++ b/include/babeltrace/graph/private-component-sink.h @@ -24,13 +24,15 @@ */ #include -#include + +/* For enum bt_component_status */ #include #ifdef __cplusplus extern "C" { #endif +struct bt_component; struct bt_private_component; struct bt_private_port; diff --git a/include/babeltrace/graph/private-component-source.h b/include/babeltrace/graph/private-component-source.h index 702a539f..29ed0b96 100644 --- a/include/babeltrace/graph/private-component-source.h +++ b/include/babeltrace/graph/private-component-source.h @@ -24,13 +24,15 @@ */ #include -#include + +/* For enum bt_component_status */ #include #ifdef __cplusplus extern "C" { #endif +struct bt_component; struct bt_private_component; struct bt_private_port; diff --git a/include/babeltrace/graph/private-component.h b/include/babeltrace/graph/private-component.h index 583e7e36..cde10e08 100644 --- a/include/babeltrace/graph/private-component.h +++ b/include/babeltrace/graph/private-component.h @@ -23,12 +23,11 @@ * SOFTWARE. */ -#include - #ifdef __cplusplus extern "C" { #endif +struct bt_component; struct bt_private_component; extern struct bt_component *bt_component_from_private_component( diff --git a/include/babeltrace/graph/private-connection.h b/include/babeltrace/graph/private-connection.h index e5a907fd..b64559ec 100644 --- a/include/babeltrace/graph/private-connection.h +++ b/include/babeltrace/graph/private-connection.h @@ -23,16 +23,18 @@ * SOFTWARE. */ -#include +/* For enum bt_notification_type */ #include #ifdef __cplusplus extern "C" { #endif +struct bt_notification; struct bt_connection; struct bt_private_port; struct bt_private_connection; +struct bt_notification_iterator; extern struct bt_connection *bt_connection_from_private_connection( struct bt_private_connection *private_connection); diff --git a/include/babeltrace/graph/query-executor.h b/include/babeltrace/graph/query-executor.h index f2187dd6..28a8776e 100644 --- a/include/babeltrace/graph/query-executor.h +++ b/include/babeltrace/graph/query-executor.h @@ -25,6 +25,7 @@ * SOFTWARE. */ +/* For bt_bool */ #include #ifdef __cplusplus diff --git a/include/babeltrace/logging.h b/include/babeltrace/logging.h index 0e1d663a..7139a126 100644 --- a/include/babeltrace/logging.h +++ b/include/babeltrace/logging.h @@ -28,7 +28,6 @@ #include #include #include -#include #ifdef __cplusplus extern "C" { diff --git a/include/babeltrace/plugin/plugin-dev.h b/include/babeltrace/plugin/plugin-dev.h index f99dca02..786566ea 100644 --- a/include/babeltrace/plugin/plugin-dev.h +++ b/include/babeltrace/plugin/plugin-dev.h @@ -32,7 +32,11 @@ */ #include + +/* For enum bt_plugin_status */ #include + +/* For component class method type definitions */ #include #include #include diff --git a/include/babeltrace/plugin/plugin.h b/include/babeltrace/plugin/plugin.h index b9be6743..ae7b7c7a 100644 --- a/include/babeltrace/plugin/plugin.h +++ b/include/babeltrace/plugin/plugin.h @@ -30,9 +30,13 @@ #include #include -#include + +/* For bt_bool */ #include +/* For enum bt_component_class_type */ +#include + #ifdef __cplusplus extern "C" { #endif diff --git a/include/babeltrace/values.h b/include/babeltrace/values.h index d4a2214b..58aa99e2 100644 --- a/include/babeltrace/values.h +++ b/include/babeltrace/values.h @@ -28,7 +28,8 @@ #include #include -#include + +/* For bt_bool */ #include #ifdef __cplusplus diff --git a/include/babeltrace/version.h b/include/babeltrace/version.h index 20854d53..9afd5d0f 100644 --- a/include/babeltrace/version.h +++ b/include/babeltrace/version.h @@ -23,9 +23,17 @@ * SOFTWARE. */ +#ifdef __cplusplus +extern "C" { +#endif + extern int bt_version_get_major(void); extern int bt_version_get_minor(void); extern int bt_version_get_patch(void); extern const char *bt_version_get_extra(void); +#ifdef __cplusplus +} +#endif + #endif /* BABELTRACE_VERSION_H */ diff --git a/lib/ctf-ir/attributes.c b/lib/ctf-ir/attributes.c index ac979724..44e0e230 100644 --- a/lib/ctf-ir/attributes.c +++ b/lib/ctf-ir/attributes.c @@ -28,6 +28,7 @@ #define BT_LOG_TAG "ATTRS" #include +#include #include #include #include diff --git a/lib/graph/component-class-sink-colander.c b/lib/graph/component-class-sink-colander.c index 0df9ed4e..25176ea3 100644 --- a/lib/graph/component-class-sink-colander.c +++ b/lib/graph/component-class-sink-colander.c @@ -23,10 +23,13 @@ #define BT_LOG_TAG "COLANDER" #include +#include +#include #include #include #include #include +#include #include #include #include diff --git a/lib/graph/notification/packet.c b/lib/graph/notification/packet.c index 712d1c41..d0286eec 100644 --- a/lib/graph/notification/packet.c +++ b/lib/graph/notification/packet.c @@ -30,6 +30,7 @@ #include #include #include +#include #include #include #include diff --git a/lib/graph/notification/stream.c b/lib/graph/notification/stream.c index 40c245b5..9908c970 100644 --- a/lib/graph/notification/stream.c +++ b/lib/graph/notification/stream.c @@ -29,6 +29,7 @@ #include #include +#include #include #include diff --git a/plugins/ctf/common/btr/btr.c b/plugins/ctf/common/btr/btr.c index 93c233fc..c0f0ac79 100644 --- a/plugins/ctf/common/btr/btr.c +++ b/plugins/ctf/common/btr/btr.c @@ -35,7 +35,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/plugins/ctf/common/btr/btr.h b/plugins/ctf/common/btr/btr.h index af2a6569..4b5e7bc7 100644 --- a/plugins/ctf/common/btr/btr.h +++ b/plugins/ctf/common/btr/btr.h @@ -29,7 +29,7 @@ #include #include #include -#include +#include #include /** diff --git a/plugins/ctf/common/metadata/ast.h b/plugins/ctf/common/metadata/ast.h index 74bcde9f..6d9e43bf 100644 --- a/plugins/ctf/common/metadata/ast.h +++ b/plugins/ctf/common/metadata/ast.h @@ -21,7 +21,7 @@ #include #include #include -#include +#include #include #include "decoder.h" diff --git a/plugins/ctf/common/metadata/decoder.c b/plugins/ctf/common/metadata/decoder.c index 694de811..814da165 100644 --- a/plugins/ctf/common/metadata/decoder.c +++ b/plugins/ctf/common/metadata/decoder.c @@ -23,7 +23,7 @@ #include #include #include -#include +#include #include #include diff --git a/plugins/ctf/common/metadata/visitor-generate-ir.c b/plugins/ctf/common/metadata/visitor-generate-ir.c index a2ced0cb..c7c6f10d 100644 --- a/plugins/ctf/common/metadata/visitor-generate-ir.c +++ b/plugins/ctf/common/metadata/visitor-generate-ir.c @@ -42,14 +42,8 @@ #include #include #include -#include -#include -#include -#include -#include -#include +#include #include -#include #include "scanner.h" #include "parser.h" diff --git a/plugins/ctf/common/notif-iter/notif-iter.c b/plugins/ctf/common/notif-iter/notif-iter.c index 6789fc54..8bb79db8 100644 --- a/plugins/ctf/common/notif-iter/notif-iter.c +++ b/plugins/ctf/common/notif-iter/notif-iter.c @@ -33,21 +33,9 @@ #include #include #include -#include +#include #include -#include #include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include #include #include diff --git a/plugins/ctf/common/notif-iter/notif-iter.h b/plugins/ctf/common/notif-iter/notif-iter.h index 444b9454..5cc8ff8b 100644 --- a/plugins/ctf/common/notif-iter/notif-iter.h +++ b/plugins/ctf/common/notif-iter/notif-iter.h @@ -29,10 +29,7 @@ #include #include #include -#include -#include -#include -#include +#include #include /** diff --git a/plugins/ctf/common/utils/utils.h b/plugins/ctf/common/utils/utils.h index 2e9e23ef..1a32d1ce 100644 --- a/plugins/ctf/common/utils/utils.h +++ b/plugins/ctf/common/utils/utils.h @@ -25,9 +25,7 @@ * SOFTWARE. */ -#include -#include -#include +#include #include struct bt_ctf_stream_class *ctf_utils_stream_class_from_packet_header( diff --git a/plugins/ctf/fs-sink/write.c b/plugins/ctf/fs-sink/write.c index 4b6f6e9a..eec76c7e 100644 --- a/plugins/ctf/fs-sink/write.c +++ b/plugins/ctf/fs-sink/write.c @@ -29,15 +29,7 @@ #define BT_LOG_TAG "PLUGIN-CTF-FS-SINK-WRITE" #include "logging.h" -#include -#include -#include -#include -#include -#include -#include -#include -#include +#include #include #include diff --git a/plugins/ctf/fs-sink/writer.c b/plugins/ctf/fs-sink/writer.c index fd2c1632..01dbc184 100644 --- a/plugins/ctf/fs-sink/writer.c +++ b/plugins/ctf/fs-sink/writer.c @@ -29,20 +29,7 @@ #define BT_LOG_TAG "PLUGIN-CTF-FS-SINK-WRITER" #include "logging.h" -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include +#include #include #include #include diff --git a/plugins/ctf/fs-sink/writer.h b/plugins/ctf/fs-sink/writer.h index 33403dc6..07e8674a 100644 --- a/plugins/ctf/fs-sink/writer.h +++ b/plugins/ctf/fs-sink/writer.h @@ -29,8 +29,7 @@ #include #include -#include -#include +#include struct writer_component { GString *base_path; diff --git a/plugins/ctf/fs-src/data-stream-file.c b/plugins/ctf/fs-src/data-stream-file.c index 39c2530e..ec10a033 100644 --- a/plugins/ctf/fs-src/data-stream-file.c +++ b/plugins/ctf/fs-src/data-stream-file.c @@ -31,11 +31,7 @@ #include #include #include -#include -#include -#include -#include -#include +#include #include #include "file.h" #include "metadata.h" diff --git a/plugins/ctf/fs-src/data-stream-file.h b/plugins/ctf/fs-src/data-stream-file.h index 8c859e77..32027566 100644 --- a/plugins/ctf/fs-src/data-stream-file.h +++ b/plugins/ctf/fs-src/data-stream-file.h @@ -27,7 +27,7 @@ #include #include #include -#include +#include #include "../common/notif-iter/notif-iter.h" #include "lttng-index.h" diff --git a/plugins/ctf/fs-src/fs.c b/plugins/ctf/fs-src/fs.c index c97013ea..fe978fc2 100644 --- a/plugins/ctf/fs-src/fs.c +++ b/plugins/ctf/fs-src/fs.c @@ -26,17 +26,7 @@ */ #include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include +#include #include #include #include diff --git a/plugins/ctf/fs-src/fs.h b/plugins/ctf/fs-src/fs.h index f5eaabb8..33b58848 100644 --- a/plugins/ctf/fs-src/fs.h +++ b/plugins/ctf/fs-src/fs.h @@ -30,8 +30,7 @@ #include #include -#include -#include +#include #include "data-stream-file.h" #include "metadata.h" diff --git a/plugins/ctf/fs-src/metadata.c b/plugins/ctf/fs-src/metadata.c index cdc38deb..231d946c 100644 --- a/plugins/ctf/fs-src/metadata.c +++ b/plugins/ctf/fs-src/metadata.c @@ -31,6 +31,7 @@ #include #include #include +#include #include "fs.h" #include "file.h" diff --git a/plugins/ctf/fs-src/metadata.h b/plugins/ctf/fs-src/metadata.h index d77ca6a4..496a5ca9 100644 --- a/plugins/ctf/fs-src/metadata.h +++ b/plugins/ctf/fs-src/metadata.h @@ -26,7 +26,7 @@ #include #include #include -#include +#include #define CTF_FS_METADATA_FILENAME "metadata" diff --git a/plugins/ctf/fs-src/query.c b/plugins/ctf/fs-src/query.c index 2b5171af..c5e2be8c 100644 --- a/plugins/ctf/fs-src/query.c +++ b/plugins/ctf/fs-src/query.c @@ -31,7 +31,7 @@ #include "../common/metadata/decoder.h" #include #include -#include +#include #include "fs.h" #define BT_LOG_TAG "PLUGIN-CTF-FS-QUERY-SRC" diff --git a/plugins/ctf/fs-src/query.h b/plugins/ctf/fs-src/query.h index 5db579de..ff89fa36 100644 --- a/plugins/ctf/fs-src/query.h +++ b/plugins/ctf/fs-src/query.h @@ -25,9 +25,8 @@ * SOFTWARE. */ -#include #include -#include +#include BT_HIDDEN struct bt_component_class_query_method_return metadata_info_query( diff --git a/plugins/ctf/lttng-live/data-stream.c b/plugins/ctf/lttng-live/data-stream.c index f6832cab..10613c84 100644 --- a/plugins/ctf/lttng-live/data-stream.c +++ b/plugins/ctf/lttng-live/data-stream.c @@ -32,7 +32,7 @@ #include #include #include -#include +#include #include "../common/notif-iter/notif-iter.h" #include diff --git a/plugins/ctf/lttng-live/data-stream.h b/plugins/ctf/lttng-live/data-stream.h index 73e588cc..4ca73c38 100644 --- a/plugins/ctf/lttng-live/data-stream.h +++ b/plugins/ctf/lttng-live/data-stream.h @@ -26,7 +26,7 @@ #include #include #include -#include +#include #include "lttng-live-internal.h" #include "../common/notif-iter/notif-iter.h" diff --git a/plugins/ctf/lttng-live/lttng-live-internal.h b/plugins/ctf/lttng-live/lttng-live-internal.h index dcbc9853..486cc5db 100644 --- a/plugins/ctf/lttng-live/lttng-live-internal.h +++ b/plugins/ctf/lttng-live/lttng-live-internal.h @@ -31,10 +31,7 @@ #include #include -#include -#include -#include -#include +#include #include "viewer-connection.h" //TODO: this should not be used by plugins. Should copy code into plugin diff --git a/plugins/ctf/lttng-live/lttng-live.c b/plugins/ctf/lttng-live/lttng-live.c index c882ce95..b40934b7 100644 --- a/plugins/ctf/lttng-live/lttng-live.c +++ b/plugins/ctf/lttng-live/lttng-live.c @@ -30,20 +30,7 @@ #define BT_LOG_TAG "PLUGIN-CTF-LTTNG-LIVE-SRC" #include "logging.h" -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include +#include #include #include #include diff --git a/plugins/ctf/lttng-live/metadata.c b/plugins/ctf/lttng-live/metadata.c index 7fec74ad..3aa2f383 100644 --- a/plugins/ctf/lttng-live/metadata.c +++ b/plugins/ctf/lttng-live/metadata.c @@ -33,7 +33,7 @@ #include #include #include -#include +#include #include "metadata.h" #include "../common/metadata/decoder.h" diff --git a/plugins/ctf/lttng-live/metadata.h b/plugins/ctf/lttng-live/metadata.h index 47e4fbb2..4ce171df 100644 --- a/plugins/ctf/lttng-live/metadata.h +++ b/plugins/ctf/lttng-live/metadata.h @@ -26,7 +26,7 @@ #include #include #include -#include +#include #include "lttng-live-internal.h" int lttng_live_metadata_create_stream(struct lttng_live_session *session, diff --git a/plugins/ctf/lttng-live/viewer-connection.c b/plugins/ctf/lttng-live/viewer-connection.c index 2955b938..55bc6bb0 100644 --- a/plugins/ctf/lttng-live/viewer-connection.c +++ b/plugins/ctf/lttng-live/viewer-connection.c @@ -37,7 +37,7 @@ #include #include #include -#include +#include #include "lttng-live-internal.h" #include "viewer-connection.h" diff --git a/plugins/ctf/plugin.c b/plugins/ctf/plugin.c index 0f00b561..cb894ddd 100644 --- a/plugins/ctf/plugin.c +++ b/plugins/ctf/plugin.c @@ -26,7 +26,7 @@ * SOFTWARE. */ -#include +#include #include "fs-src/fs.h" #include "fs-sink/writer.h" #include "lttng-live/lttng-live-internal.h" diff --git a/plugins/libctfcopytrace/clock-fields.c b/plugins/libctfcopytrace/clock-fields.c index 5d312a81..78560f0e 100644 --- a/plugins/libctfcopytrace/clock-fields.c +++ b/plugins/libctfcopytrace/clock-fields.c @@ -29,15 +29,7 @@ #define BT_LOG_TAG "PLUGIN-CTFCOPYTRACE-LIB-CLOCK-FIELDS" #include "logging.h" -#include -#include -#include -#include -#include -#include -#include -#include -#include +#include #include #include diff --git a/plugins/libctfcopytrace/clock-fields.h b/plugins/libctfcopytrace/clock-fields.h index 32cb9ca2..bb028359 100644 --- a/plugins/libctfcopytrace/clock-fields.h +++ b/plugins/libctfcopytrace/clock-fields.h @@ -29,7 +29,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/plugins/libctfcopytrace/ctfcopytrace.c b/plugins/libctfcopytrace/ctfcopytrace.c index bfa89398..6debd71c 100644 --- a/plugins/libctfcopytrace/ctfcopytrace.c +++ b/plugins/libctfcopytrace/ctfcopytrace.c @@ -29,14 +29,7 @@ #define BT_LOG_TAG "PLUGIN-CTFCOPYTRACE-LIB" #include "logging.h" -#include -#include -#include -#include -#include -#include -#include -#include +#include #include #include "ctfcopytrace.h" diff --git a/plugins/libctfcopytrace/ctfcopytrace.h b/plugins/libctfcopytrace/ctfcopytrace.h index 74460f13..9a103e91 100644 --- a/plugins/libctfcopytrace/ctfcopytrace.h +++ b/plugins/libctfcopytrace/ctfcopytrace.h @@ -29,8 +29,7 @@ #include #include -#include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/plugins/lttng-utils/copy.c b/plugins/lttng-utils/copy.c index 3bbc0a17..a2ab8bd5 100644 --- a/plugins/lttng-utils/copy.c +++ b/plugins/lttng-utils/copy.c @@ -31,15 +31,7 @@ #include #include -#include -#include -#include -#include -#include -#include -#include -#include -#include +#include #include #include "debug-info.h" diff --git a/plugins/lttng-utils/copy.h b/plugins/lttng-utils/copy.h index 240b51b1..48c07636 100644 --- a/plugins/lttng-utils/copy.h +++ b/plugins/lttng-utils/copy.h @@ -29,8 +29,7 @@ #include #include -#include -#include +#include BT_HIDDEN struct bt_ctf_event *debug_info_output_event(struct debug_info_iterator *debug_it, diff --git a/plugins/lttng-utils/debug-info.h b/plugins/lttng-utils/debug-info.h index ea5a499d..f1b6df2d 100644 --- a/plugins/lttng-utils/debug-info.h +++ b/plugins/lttng-utils/debug-info.h @@ -30,10 +30,7 @@ #include #include #include -#include -#include -#include -#include +#include enum debug_info_stream_state { /* diff --git a/plugins/lttng-utils/plugin.c b/plugins/lttng-utils/plugin.c index f7f42f43..35538436 100644 --- a/plugins/lttng-utils/plugin.c +++ b/plugins/lttng-utils/plugin.c @@ -29,19 +29,7 @@ #define BT_LOG_TAG "PLUGIN-CTF-LTTNG-UTILS-DEBUG-INFO-FLT" #include "logging.h" -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include +#include #include #include #include "debug-info.h" diff --git a/plugins/text/dmesg/dmesg.h b/plugins/text/dmesg/dmesg.h index 07258d44..e85a8906 100644 --- a/plugins/text/dmesg/dmesg.h +++ b/plugins/text/dmesg/dmesg.h @@ -25,8 +25,7 @@ #include #include -#include -#include +#include BT_HIDDEN enum bt_component_status dmesg_init(struct bt_private_component *priv_comp, diff --git a/plugins/text/plugin.c b/plugins/text/plugin.c index dcd5db3b..58a7f8f7 100644 --- a/plugins/text/plugin.c +++ b/plugins/text/plugin.c @@ -20,7 +20,7 @@ * SOFTWARE. */ -#include +#include #include "pretty/pretty.h" #include "dmesg/dmesg.h" diff --git a/plugins/text/pretty/pretty.c b/plugins/text/pretty/pretty.c index 4ac6ad6d..ad76d823 100644 --- a/plugins/text/pretty/pretty.c +++ b/plugins/text/pretty/pretty.c @@ -27,18 +27,7 @@ * SOFTWARE. */ -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include +#include #include #include #include diff --git a/plugins/text/pretty/pretty.h b/plugins/text/pretty/pretty.h index 2394e042..a5d9cb88 100644 --- a/plugins/text/pretty/pretty.h +++ b/plugins/text/pretty/pretty.h @@ -29,10 +29,7 @@ #include #include -#include -#include -#include -#include +#include enum pretty_default { PRETTY_DEFAULT_UNSET, diff --git a/plugins/text/pretty/print.c b/plugins/text/pretty/print.c index 11cd1883..75edcc7e 100644 --- a/plugins/text/pretty/print.c +++ b/plugins/text/pretty/print.c @@ -27,19 +27,7 @@ * SOFTWARE. */ -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include +#include #include #include #include diff --git a/plugins/utils/counter/counter.c b/plugins/utils/counter/counter.c index a1c1cd4b..9ef22372 100644 --- a/plugins/utils/counter/counter.c +++ b/plugins/utils/counter/counter.c @@ -20,22 +20,9 @@ * SOFTWARE. */ -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include +#include #include #include -#include #include #include #include diff --git a/plugins/utils/counter/counter.h b/plugins/utils/counter/counter.h index 33dda03e..6915532b 100644 --- a/plugins/utils/counter/counter.h +++ b/plugins/utils/counter/counter.h @@ -24,9 +24,7 @@ */ #include -#include -#include -#include +#include #include #include diff --git a/plugins/utils/dummy/dummy.c b/plugins/utils/dummy/dummy.c index 5e698793..a6e9769b 100644 --- a/plugins/utils/dummy/dummy.c +++ b/plugins/utils/dummy/dummy.c @@ -20,17 +20,7 @@ * SOFTWARE. */ -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include +#include #include #include #include diff --git a/plugins/utils/dummy/dummy.h b/plugins/utils/dummy/dummy.h index aa654132..0468bc01 100644 --- a/plugins/utils/dummy/dummy.h +++ b/plugins/utils/dummy/dummy.h @@ -24,10 +24,7 @@ */ #include -#include -#include -#include -#include +#include #include struct dummy { diff --git a/plugins/utils/muxer/muxer.c b/plugins/utils/muxer/muxer.c index 6546ab2f..8722e27f 100644 --- a/plugins/utils/muxer/muxer.c +++ b/plugins/utils/muxer/muxer.c @@ -25,27 +25,11 @@ #include #include -#include -#include -#include -#include -#include +#include +#include #include -#include -#include -#include #include -#include -#include -#include -#include -#include -#include -#include -#include -#include #include -#include #include #include #include diff --git a/plugins/utils/plugin.c b/plugins/utils/plugin.c index e28dd66b..50dabf5c 100644 --- a/plugins/utils/plugin.c +++ b/plugins/utils/plugin.c @@ -20,7 +20,7 @@ * SOFTWARE. */ -#include +#include #include "dummy/dummy.h" #include "counter/counter.h" #include "trimmer/trimmer.h" diff --git a/plugins/utils/trimmer/copy.c b/plugins/utils/trimmer/copy.c index b9252189..e7156efb 100644 --- a/plugins/utils/trimmer/copy.c +++ b/plugins/utils/trimmer/copy.c @@ -30,15 +30,7 @@ #include "logging.h" #include -#include -#include -#include -#include -#include -#include -#include -#include -#include +#include #include #include "iterator.h" diff --git a/plugins/utils/trimmer/copy.h b/plugins/utils/trimmer/copy.h index fc66d0a0..3a034031 100644 --- a/plugins/utils/trimmer/copy.h +++ b/plugins/utils/trimmer/copy.h @@ -29,9 +29,7 @@ #include #include -#include -#include -#include +#include BT_HIDDEN struct bt_ctf_event *trimmer_output_event(struct trimmer_iterator *trim_it, diff --git a/plugins/utils/trimmer/iterator.c b/plugins/utils/trimmer/iterator.c index 32a99c88..f7094c90 100644 --- a/plugins/utils/trimmer/iterator.c +++ b/plugins/utils/trimmer/iterator.c @@ -31,25 +31,7 @@ #include #include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include +#include #include #include diff --git a/plugins/utils/trimmer/iterator.h b/plugins/utils/trimmer/iterator.h index 1ba08825..65a74f44 100644 --- a/plugins/utils/trimmer/iterator.h +++ b/plugins/utils/trimmer/iterator.h @@ -28,10 +28,7 @@ */ #include "trimmer.h" -#include -#include -#include -#include +#include struct trimmer_iterator { /* Input iterator associated with this output iterator. */ diff --git a/plugins/utils/trimmer/trimmer.c b/plugins/utils/trimmer/trimmer.c index 54a16670..d02d5053 100644 --- a/plugins/utils/trimmer/trimmer.c +++ b/plugins/utils/trimmer/trimmer.c @@ -30,15 +30,7 @@ #include "logging.h" #include -#include -#include -#include -#include -#include -#include -#include -#include -#include +#include #include #include "trimmer.h" #include "iterator.h" diff --git a/plugins/utils/trimmer/trimmer.h b/plugins/utils/trimmer/trimmer.h index 165d7c8b..1f151cb9 100644 --- a/plugins/utils/trimmer/trimmer.h +++ b/plugins/utils/trimmer/trimmer.h @@ -29,8 +29,7 @@ #include #include -#include -#include +#include #define NSEC_PER_SEC 1000000000LL diff --git a/tests/lib/test_bt_ctf_field_type_validation.c b/tests/lib/test_bt_ctf_field_type_validation.c index 7e4a7eed..ad92e801 100644 --- a/tests/lib/test_bt_ctf_field_type_validation.c +++ b/tests/lib/test_bt_ctf_field_type_validation.c @@ -19,6 +19,7 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ +#include #include #include #include diff --git a/tests/lib/test_bt_values.c b/tests/lib/test_bt_values.c index e56af802..bd8f22d5 100644 --- a/tests/lib/test_bt_values.c +++ b/tests/lib/test_bt_values.c @@ -20,6 +20,7 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ +#include #include #include #include diff --git a/tests/lib/test_cc_prio_map.c b/tests/lib/test_cc_prio_map.c index 7ff5a0eb..7a371e84 100644 --- a/tests/lib/test_cc_prio_map.c +++ b/tests/lib/test_cc_prio_map.c @@ -17,6 +17,7 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ +#include #include #include #include diff --git a/tests/lib/test_graph_topo.c b/tests/lib/test_graph_topo.c index 6f81bdb8..580648b2 100644 --- a/tests/lib/test_graph_topo.c +++ b/tests/lib/test_graph_topo.c @@ -17,6 +17,7 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ +#include #include #include #include diff --git a/tests/lib/test_ir_visit.c b/tests/lib/test_ir_visit.c index 2886dc94..fbbdb745 100644 --- a/tests/lib/test_ir_visit.c +++ b/tests/lib/test_ir_visit.c @@ -20,6 +20,7 @@ */ #include "tap/tap.h" +#include #include #include #include diff --git a/tests/plugins/test-utils-muxer.c b/tests/plugins/test-utils-muxer.c index 7e9c98e2..6a94a547 100644 --- a/tests/plugins/test-utils-muxer.c +++ b/tests/plugins/test-utils-muxer.c @@ -22,37 +22,7 @@ #include #include #include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include +#include #include #include "tap/tap.h" -- 2.34.1