X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=include%2Fbabeltrace%2Fgraph%2Fself-component-filter.h;fp=include%2Fbabeltrace%2Fgraph%2Fself-component-filter.h;h=12a6fa8deec772fac6398e349a2146750d0a9655;hb=0d72b8c329ad51d14ab4e83330b38c2c8da69dd4;hp=4aef3cccf683b0064dca54e3671f1364dd682435;hpb=92fed4e1f98f18e4edbfdf5adfe57741a3260b5d;p=babeltrace.git diff --git a/include/babeltrace/graph/self-component-filter.h b/include/babeltrace/graph/self-component-filter.h index 4aef3ccc..12a6fa8d 100644 --- a/include/babeltrace/graph/self-component-filter.h +++ b/include/babeltrace/graph/self-component-filter.h @@ -46,16 +46,13 @@ struct bt_self_component *bt_self_component_filter_as_self_component( } static inline -struct bt_component_filter * +const struct bt_component_filter * bt_self_component_filter_as_component_filter( struct bt_self_component_filter *self_comp_filter) { - return (void *) self_comp_filter; + return (const void *) self_comp_filter; } -extern struct bt_self_component *bt_self_component_borrow_from_self_component_filter( - struct bt_self_component_filter *self_component); - extern struct bt_component_filter *bt_component_filter_borrow_from_self( struct bt_self_component_filter *self_component);