From dbea6be211679c4c88748186f7a8430de377b301 Mon Sep 17 00:00:00 2001 From: Simon Marchi Date: Tue, 15 Feb 2022 10:47:53 -0500 Subject: [PATCH] lib: remove unneeded forward declarations in trace-ir/field-class.h `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 Reviewed-on: https://review.lttng.org/c/babeltrace/+/7318 Tested-by: jenkins Reviewed-by: Philippe Proulx Reviewed-on: https://review.lttng.org/c/babeltrace/+/7297 --- src/lib/trace-ir/field-class.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/lib/trace-ir/field-class.h b/src/lib/trace-ir/field-class.h index 77df5804..29c4f72a 100644 --- a/src/lib/trace-ir/field-class.h +++ b/src/lib/trace-ir/field-class.h @@ -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; -- 2.34.1