X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=tests%2Flib%2Ftest-plugin-plugins%2Fsfs.c;h=4d0357c604a76f81beae6108e4a9bb7c2f023e35;hb=d4393e0875e7b08f6ee97d617cc5f2c9286742a4;hp=f9d521300818638ed4a633659efadb163ce00e44;hpb=26e21a82c47a15d1080dc142cb20c0b0b0b5a929;p=babeltrace.git diff --git a/tests/lib/test-plugin-plugins/sfs.c b/tests/lib/test-plugin-plugins/sfs.c index f9d52130..4d0357c6 100644 --- a/tests/lib/test-plugin-plugins/sfs.c +++ b/tests/lib/test-plugin-plugins/sfs.c @@ -40,15 +40,12 @@ static void dummy_iterator_finalize_method( { } -static struct bt_notification_iterator_next_method_return dummy_iterator_next_method( - struct bt_private_connection_private_notification_iterator *private_iterator) +static enum bt_notification_iterator_status dummy_iterator_next_method( + struct bt_private_connection_private_notification_iterator *private_iterator, + bt_notification_array notifs, uint64_t capacity, + uint64_t *count) { - struct bt_notification_iterator_next_method_return next_return = { - .notification = NULL, - .status = BT_NOTIFICATION_ITERATOR_STATUS_OK, - }; - - return next_return; + return BT_NOTIFICATION_ITERATOR_STATUS_ERROR; } static struct bt_component_class_query_method_return query_method(