lib: make the "port connected" method return a status
[babeltrace.git] / tests / lib / test_bt_notification_iterator.c
index 4cecf36282cc68bf678f9fbad61141d0d7a320f8..5ccb91cbb40bc904a71b8e75fd563752208d825e 100644 (file)
@@ -683,7 +683,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)
 {
@@ -699,6 +700,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.023868 seconds and 4 git commands to generate.