Fix typos
[babeltrace.git] / src / plugins / text / dmesg / dmesg.c
index f2a575a1b58b624d2b0cc9f433948a6cd72dc335..790b58d4b15a8901d7c66f3309be2d7e82dfa4fe 100644 (file)
@@ -359,11 +359,11 @@ void destroy_dmesg_component(struct dmesg_component *dmesg_comp)
        g_free(dmesg_comp);
 }
 
-BT_HIDDEN
 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;
@@ -437,7 +437,6 @@ end:
        return status;
 }
 
-BT_HIDDEN
 void dmesg_finalize(bt_self_component_source *self_comp)
 {
        destroy_dmesg_component(bt_self_component_get_data(
@@ -650,11 +649,10 @@ void destroy_dmesg_msg_iter(struct dmesg_msg_iter *dmesg_msg_iter)
 
 
 
-BT_HIDDEN
 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);
@@ -701,7 +699,6 @@ end:
        return status;
 }
 
-BT_HIDDEN
 void dmesg_msg_iter_finalize(
                bt_self_message_iterator *priv_msg_iter)
 {
@@ -823,7 +820,6 @@ end:
        return status;
 }
 
-BT_HIDDEN
 bt_message_iterator_class_next_method_status dmesg_msg_iter_next(
                bt_self_message_iterator *self_msg_iter,
                bt_message_array_const msgs, uint64_t capacity,
@@ -856,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.
@@ -868,7 +864,6 @@ bt_message_iterator_class_next_method_status dmesg_msg_iter_next(
        return status;
 }
 
-BT_HIDDEN
 bt_message_iterator_class_can_seek_beginning_method_status
 dmesg_msg_iter_can_seek_beginning(
                bt_self_message_iterator *self_msg_iter, bt_bool *can_seek)
@@ -882,7 +877,6 @@ dmesg_msg_iter_can_seek_beginning(
        return BT_MESSAGE_ITERATOR_CLASS_CAN_SEEK_BEGINNING_METHOD_STATUS_OK;
 }
 
-BT_HIDDEN
 bt_message_iterator_class_seek_beginning_method_status
 dmesg_msg_iter_seek_beginning(
                bt_self_message_iterator *self_msg_iter)
This page took 0.034608 seconds and 4 git commands to generate.