X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=plugins%2Futils%2Fdummy%2Fdummy.c;h=e0c44c5bffcfd7537c74b39d09ba6f7166b25d9a;hb=4cdfc5e86b64137d96c31495cbdea99801714c2b;hp=5d513cf216b66ee47fe8cdad653fd6edaee79d02;hpb=a21d1cb8acfbed4d36ab6e74eefe64305d7587ef;p=babeltrace.git diff --git a/plugins/utils/dummy/dummy.c b/plugins/utils/dummy/dummy.c index 5d513cf2..e0c44c5b 100644 --- a/plugins/utils/dummy/dummy.c +++ b/plugins/utils/dummy/dummy.c @@ -46,12 +46,12 @@ void dummy_finalize(bt_self_component_sink *comp) } BT_HIDDEN -enum bt_self_component_status dummy_init( +bt_self_component_status dummy_init( bt_self_component_sink *component, const bt_value *params, UNUSED_VAR void *init_method_data) { - enum bt_self_component_status ret; + bt_self_component_status ret; struct dummy *dummy = g_new0(struct dummy, 1); if (!dummy) { @@ -77,12 +77,12 @@ end: } BT_HIDDEN -enum bt_self_component_status dummy_port_connected( +bt_self_component_status dummy_port_connected( bt_self_component_sink *comp, bt_self_component_port_input *self_port, const bt_port_output *other_port) { - enum bt_self_component_status status = BT_SELF_COMPONENT_STATUS_OK; + bt_self_component_status status = BT_SELF_COMPONENT_STATUS_OK; struct dummy *dummy; bt_self_component_port_input_message_iterator *iterator; @@ -104,14 +104,14 @@ end: } BT_HIDDEN -enum bt_self_component_status dummy_consume( +bt_self_component_status dummy_consume( bt_self_component_sink *component) { - enum bt_self_component_status ret = BT_SELF_COMPONENT_STATUS_OK; + bt_self_component_status ret = BT_SELF_COMPONENT_STATUS_OK; bt_message_array_const msgs; uint64_t count; struct dummy *dummy; - enum bt_message_iterator_status it_ret; + bt_message_iterator_status it_ret; uint64_t i; dummy = bt_self_component_get_data(