Fix: add missing `_const` in name of const functions
authorFrancis Deslauriers <francis.deslauriers@efficios.com>
Fri, 15 Feb 2019 21:58:10 +0000 (16:58 -0500)
committerFrancis Deslauriers <francis.deslauriers@efficios.com>
Thu, 2 May 2019 20:50:15 +0000 (20:50 +0000)
Signed-off-by: Francis Deslauriers <francis.deslauriers@efficios.com>
include/babeltrace/trace-ir/event-class-const.h
lib/trace-ir/field-class.c

index a8408b59c5496da1462c4d669ecc332d338d6c39..66f6a577cb08522c4a6562229e4909622d78fe70 100644 (file)
@@ -78,10 +78,10 @@ extern const char *bt_event_class_get_emf_uri(
                const bt_event_class *event_class);
 
 extern const bt_field_class *
-bt_event_class_borrow_specific_context_field_class(
+bt_event_class_borrow_specific_context_field_class_const(
                const bt_event_class *event_class);
 
-extern const bt_field_class *bt_event_class_borrow_payload_field_class(
+extern const bt_field_class *bt_event_class_borrow_payload_field_class_const(
                const bt_event_class *event_class);
 
 extern void bt_event_class_get_ref(const bt_event_class *event_class);
index e0a5434022e4365650765a0d38d698c017e4d5b5..9b19022d12ea60c392b08293bf4e64f6b7ca9657 100644 (file)
@@ -856,7 +856,7 @@ end:
 }
 
 const struct bt_field_class *
-bt_field_class_structure_borrow_member_field_class_by_name(
+bt_field_class_structure_borrow_member_field_class_by_name_const(
                const struct bt_field_class *fc, const char *name)
 {
        BT_ASSERT_PRE_NON_NULL(fc, "Field class");
This page took 0.025646 seconds and 4 git commands to generate.