X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=include%2Fbabeltrace%2Fgraph%2Fcomponent-sink-internal.h;h=a5880fef22f84d02a97bfb701c2282d0bb861d4f;hb=7b53201cfb06ec02f4203e28458dfbcf53d87988;hp=7b67e2fdf5ee3e1e2f731030f0490d941ca896ba;hpb=3a2cb327fd24e53a9b163372b9079003dd422655;p=babeltrace.git diff --git a/include/babeltrace/graph/component-sink-internal.h b/include/babeltrace/graph/component-sink-internal.h index 7b67e2fd..a5880fef 100644 --- a/include/babeltrace/graph/component-sink-internal.h +++ b/include/babeltrace/graph/component-sink-internal.h @@ -27,7 +27,7 @@ #include #include -#include +#include #include #include @@ -37,7 +37,7 @@ struct bt_component_sink { BT_HIDDEN struct bt_component *bt_component_sink_create( - struct bt_component_class *class); + const struct bt_component_class *class); BT_HIDDEN void bt_component_sink_destroy(struct bt_component *component);