lib: remove unneeded forward declarations in trace-ir/field-class.h
authorSimon Marchi <simon.marchi@efficios.com>
Tue, 15 Feb 2022 15:47:53 +0000 (10:47 -0500)
committerPhilippe Proulx <eeppeliteloop@gmail.com>
Tue, 16 May 2023 13:50:04 +0000 (09:50 -0400)
`struct bt_field` is not used in this file.  `struct bt_field_class` is
not needed, as the struct is defined right there below.

Change-Id: I4f4da1b32fd80eefecc6205febf51e3e0dd5a365
Signed-off-by: Simon Marchi <simon.marchi@efficios.com>
Reviewed-on: https://review.lttng.org/c/babeltrace/+/7318
Tested-by: jenkins <jenkins@lttng.org>
Reviewed-by: Philippe Proulx <eeppeliteloop@gmail.com>
Reviewed-on: https://review.lttng.org/c/babeltrace/+/7297

src/lib/trace-ir/field-class.h

index 77df580407cadd69af852ab7269ff15a7e0808e4..29c4f72a92921004690eed2004eb412b939e8c93 100644 (file)
@@ -27,9 +27,6 @@
        (&g_array_index((_mapping)->ranges,                             \
                struct bt_field_class_enumeration_mapping_range, (_index)))
 
-struct bt_field;
-struct bt_field_class;
-
 struct bt_field_class {
        struct bt_object base;
        enum bt_field_class_type type;
This page took 0.024932 seconds and 4 git commands to generate.