lib: make graph API const-correct
[babeltrace.git] / plugins / utils / counter / counter.h
index 2c11fa335dbd0ff84e259f4b07f599d4bdc445ea..54da5294027e2c060ff24050ca1f95b94c70fbc5 100644 (file)
@@ -48,7 +48,7 @@ struct counter {
 BT_HIDDEN
 enum bt_self_component_status counter_init(
                struct bt_self_component_sink *component,
-               struct bt_value *params, void *init_method_data);
+               const struct bt_value *params, void *init_method_data);
 
 BT_HIDDEN
 void counter_finalize(struct bt_self_component_sink *component);
@@ -57,7 +57,7 @@ BT_HIDDEN
 enum bt_self_component_status counter_port_connected(
                struct bt_self_component_sink *component,
                struct bt_self_component_port_input *self_port,
-               struct bt_port_output *other_port);
+               const struct bt_port_output *other_port);
 
 BT_HIDDEN
 enum bt_self_component_status counter_consume(struct bt_self_component_sink *component);
This page took 0.023134 seconds and 4 git commands to generate.