From: Simon Marchi Date: Thu, 25 Apr 2019 20:48:17 +0000 (-0400) Subject: lib: Fix function name to match declaration X-Git-Tag: v2.0.0-pre5~50 X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=commitdiff_plain;h=fe65b1fe065a199e25e7eb9ade22958d32503b5a 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 --- 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");