configure: re-enable '-Wunused-parameter'
[babeltrace.git] / src / plugins / utils / counter / counter.c
index be03014d69ecdef9f8be4ea615fabbc51e6d4d7b..817d09945884b46954d7bd7faf6c3a1d4f6b9f1c 100644 (file)
@@ -108,7 +108,6 @@ void destroy_private_counter_data(struct counter *counter)
        }
 }
 
-BT_HIDDEN
 void counter_finalize(bt_self_component_sink *comp)
 {
        struct counter *counter;
@@ -129,12 +128,11 @@ struct bt_param_validation_map_value_entry_descr counter_params[] = {
        BT_PARAM_VALIDATION_MAP_VALUE_ENTRY_END
 };
 
-BT_HIDDEN
 bt_component_class_initialize_method_status counter_init(
                bt_self_component_sink *component,
-               bt_self_component_sink_configuration *config,
+               bt_self_component_sink_configuration *config __attribute__((unused)),
                const bt_value *params,
-               __attribute__((unused)) void *init_method_data)
+               void *init_method_data __attribute__((unused)))
 {
        bt_component_class_initialize_method_status status;
        bt_self_component_add_port_status add_port_status;
@@ -199,7 +197,6 @@ end:
        return status;
 }
 
-BT_HIDDEN
 bt_component_class_sink_graph_is_configured_method_status
 counter_graph_is_configured(
                bt_self_component_sink *comp)
@@ -230,7 +227,6 @@ end:
        return status;
 }
 
-BT_HIDDEN
 bt_component_class_sink_consume_method_status counter_consume(
                bt_self_component_sink *comp)
 {
This page took 0.024454 seconds and 4 git commands to generate.