Fix typos
[babeltrace.git] / src / plugins / text / dmesg / dmesg.c
index d52ddb2181d867affa702ea4158f43bdf0d43382..790b58d4b15a8901d7c66f3309be2d7e82dfa4fe 100644 (file)
@@ -361,8 +361,9 @@ void destroy_dmesg_component(struct dmesg_component *dmesg_comp)
 
 bt_component_class_initialize_method_status dmesg_init(
                bt_self_component_source *self_comp_src,
-               bt_self_component_source_configuration *config,
-               const bt_value *params, void *init_method_data)
+               bt_self_component_source_configuration *config __attribute__((unused)),
+               const bt_value *params,
+               void *init_method_data __attribute__((unused)))
 {
        struct dmesg_component *dmesg_comp = g_new0(struct dmesg_component, 1);
        bt_component_class_initialize_method_status status;
@@ -650,8 +651,8 @@ void destroy_dmesg_msg_iter(struct dmesg_msg_iter *dmesg_msg_iter)
 
 bt_message_iterator_class_initialize_method_status dmesg_msg_iter_init(
                bt_self_message_iterator *self_msg_iter,
-               bt_self_message_iterator_configuration *config,
-               bt_self_component_port_output *self_port)
+               bt_self_message_iterator_configuration *config __attribute__((unused)),
+               bt_self_component_port_output *self_port __attribute__((unused)))
 {
        bt_self_component *self_comp =
                bt_self_message_iterator_borrow_component(self_msg_iter);
@@ -851,7 +852,7 @@ bt_message_iterator_class_next_method_status dmesg_msg_iter_next(
                 * accumulated message objects in the output
                 * message array, so we need to return
                 * BT_SELF_MESSAGE_ITERATOR_STATUS_OK so that they
-                * are transfered to downstream. This other status
+                * are transferred to downstream. This other status
                 * occurs again the next time muxer_msg_iter_do_next()
                 * is called, possibly without any accumulated
                 * message, in which case we'll return it.
This page took 0.034991 seconds and 4 git commands to generate.