Adjust bt_component_borrow_class to match declaration
[babeltrace.git] / lib / graph / component.c
index 53c9cd6defa4a12d9cac248e78ac4073e49b200e..6321762f032a8bc6804da82be455903b4daaee97 100644 (file)
@@ -331,7 +331,7 @@ const char *bt_component_get_name(const struct bt_component *component)
        return component->name->str;
 }
 
-struct bt_component_class *bt_component_borrow_class(
+const struct bt_component_class *bt_component_borrow_class_const(
                const struct bt_component *component)
 {
        BT_ASSERT_PRE_NON_NULL(component, "Component");
This page took 0.023238 seconds and 4 git commands to generate.