From fe65b1fe065a199e25e7eb9ade22958d32503b5a Mon Sep 17 00:00:00 2001 From: Simon Marchi Date: Thu, 25 Apr 2019 16:48:17 -0400 Subject: [PATCH] lib: Fix function name to match declaration Commit c4cae502570e ("lib: Fix function name to match declaration") used an erroneous name for a function definition, this patches fixes it. Change-Id: I4190b60c9f6db62bf6b50fd095c402494d596a27 Signed-off-by: Simon Marchi Reviewed-on: https://review.gerrithub.io/c/eepp/babeltrace/+/452153 Reviewed-by: Philippe Proulx Tested-by: Philippe Proulx --- lib/trace-ir/field-class.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/trace-ir/field-class.c b/lib/trace-ir/field-class.c index d3af88b3..dad075e8 100644 --- a/lib/trace-ir/field-class.c +++ b/lib/trace-ir/field-class.c @@ -882,7 +882,7 @@ bt_field_class_structure_borrow_member_by_name_const( } struct bt_field_class_structure_member * -bt_field_class_structure_borrow_class_by_name( +bt_field_class_structure_borrow_member_by_name( struct bt_field_class *fc, const char *name) { BT_ASSERT_PRE_NON_NULL(fc, "Field class"); -- 2.34.1