X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=lib%2Fgraph%2Fcomponent.c;h=6321762f032a8bc6804da82be455903b4daaee97;hb=1de6a2b0fd2c33173d249d639203fa1ceada1f9b;hp=53c9cd6defa4a12d9cac248e78ac4073e49b200e;hpb=e8fb542771c00332d0c8227e9a8be784adf34826;p=babeltrace.git diff --git a/lib/graph/component.c b/lib/graph/component.c index 53c9cd6d..6321762f 100644 --- a/lib/graph/component.c +++ b/lib/graph/component.c @@ -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");