lib: add "borrow" functions where "get" functions exist
[babeltrace.git] / lib / graph / iterator.c
index 28ad724d935d2b8972e4aa951ffc3b5cbaa9488b..61b5298bdcdc9c4bacac18760769de52f7c4b022 100644 (file)
@@ -390,12 +390,11 @@ bt_private_connection_private_notification_iterator_set_user_data(
        return BT_NOTIFICATION_ITERATOR_STATUS_OK;
 }
 
-struct bt_notification *bt_notification_iterator_get_notification(
+struct bt_notification *bt_notification_iterator_borrow_notification(
                struct bt_notification_iterator *iterator)
 {
        BT_ASSERT_PRE_NON_NULL(iterator, "Notification iterator");
-       return bt_get(
-               bt_notification_iterator_borrow_current_notification(iterator));
+       return bt_notification_iterator_borrow_current_notification(iterator);
 }
 
 BT_ASSERT_PRE_FUNC
This page took 0.024148 seconds and 4 git commands to generate.