lib: make graph API const-correct
[babeltrace.git] / plugins / text / dmesg / dmesg.h
index 870e87bb93d7e0c99e2f18bb5a56a347c79c454e..be49d4212b3674be673f31c1fd61efd03d3f70d8 100644 (file)
@@ -30,7 +30,7 @@
 BT_HIDDEN
 enum bt_self_component_status dmesg_init(
                struct bt_self_component_source *self_comp,
-               struct bt_value *params, void *init_method_data);
+               const struct bt_value *params, void *init_method_data);
 
 BT_HIDDEN
 void dmesg_finalize(struct bt_self_component_source *self_comp);
@@ -48,7 +48,7 @@ void dmesg_notif_iter_finalize(
 BT_HIDDEN
 enum bt_self_notification_iterator_status dmesg_notif_iter_next(
                struct bt_self_notification_iterator *self_notif_iter,
-               bt_notification_array notifs, uint64_t capacity,
+               bt_notification_array_const notifs, uint64_t capacity,
                uint64_t *count);
 
 #endif /* BABELTRACE_PLUGIN_TEXT_DMESG_DMESG_H */
This page took 0.027709 seconds and 4 git commands to generate.