lib: make public reference count functions have strict types
[babeltrace.git] / plugins / ctf / fs-src / data-stream-file.c
index d046b0dfd679eb55e011f03980fd26dd1d9484be..b6e301ccaa33c71d28c5286ee098eee16d0309ed 100644 (file)
@@ -643,7 +643,7 @@ struct ctf_fs_ds_file *ctf_fs_ds_file_create(
        }
 
        ds_file->stream = stream;
-       bt_object_get_ref(ds_file->stream);
+       bt_stream_get_ref(ds_file->stream);
        ds_file->metadata = ctf_fs_trace->metadata;
        g_string_assign(ds_file->file->path, path);
        ret = ctf_fs_file_open(ds_file->file, "rb");
@@ -695,7 +695,7 @@ void ctf_fs_ds_file_destroy(struct ctf_fs_ds_file *ds_file)
                return;
        }
 
-       bt_object_put_ref(ds_file->stream);
+       bt_stream_put_ref(ds_file->stream);
        (void) ds_file_munmap(ds_file);
 
        if (ds_file->file) {
@@ -708,7 +708,7 @@ void ctf_fs_ds_file_destroy(struct ctf_fs_ds_file *ds_file)
 BT_HIDDEN
 enum bt_notification_iterator_status ctf_fs_ds_file_next(
                struct ctf_fs_ds_file *ds_file,
-               struct bt_private_notification **notif)
+               struct bt_notification **notif)
 {
        enum bt_notif_iter_status notif_iter_status;
        enum bt_notification_iterator_status status;
This page took 0.023178 seconds and 4 git commands to generate.