X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=src%2Fplugins%2Ftext%2Fdmesg%2Fdmesg.c;h=790b58d4b15a8901d7c66f3309be2d7e82dfa4fe;hb=e74015680521597497c3218160a9e80081932896;hp=d52ddb2181d867affa702ea4158f43bdf0d43382;hpb=1353b066072e6c389ff35853bac83f65597e7a6a;p=babeltrace.git diff --git a/src/plugins/text/dmesg/dmesg.c b/src/plugins/text/dmesg/dmesg.c index d52ddb21..790b58d4 100644 --- a/src/plugins/text/dmesg/dmesg.c +++ b/src/plugins/text/dmesg/dmesg.c @@ -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.