lib: make the "port connected" method return a status
[babeltrace.git] / tests / plugins / test-utils-muxer.c
index 58a4331f3fa743de4a942b16a74542626928f043..ea5b46445a160aae4639f1aef6c606fa7ceefb81 100644 (file)
@@ -898,7 +898,8 @@ end:
 }
 
 static
-void sink_port_connected(struct bt_private_component *private_component,
+enum bt_component_status sink_port_connected(
+               struct bt_private_component *private_component,
                struct bt_private_port *self_private_port,
                struct bt_port *other_port)
 {
@@ -914,6 +915,7 @@ void sink_port_connected(struct bt_private_component *private_component,
                priv_conn, &user_data->notif_iter);
        BT_ASSERT(conn_status == 0);
        bt_put(priv_conn);
+       return BT_COMPONENT_STATUS_OK;
 }
 
 static
This page took 0.022677 seconds and 4 git commands to generate.