diff options
Diffstat (limited to 'include/block/thread-pool.h')
-rw-r--r-- | include/block/thread-pool.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/block/thread-pool.h b/include/block/thread-pool.h index 472375227a..42eb5e8421 100644 --- a/include/block/thread-pool.h +++ b/include/block/thread-pool.h @@ -27,9 +27,9 @@ typedef struct ThreadPool ThreadPool; ThreadPool *thread_pool_new(struct AioContext *ctx); void thread_pool_free(ThreadPool *pool); -BlockDriverAIOCB *thread_pool_submit_aio(ThreadPool *pool, +BlockAIOCB *thread_pool_submit_aio(ThreadPool *pool, ThreadPoolFunc *func, void *arg, - BlockDriverCompletionFunc *cb, void *opaque); + BlockCompletionFunc *cb, void *opaque); int coroutine_fn thread_pool_submit_co(ThreadPool *pool, ThreadPoolFunc *func, void *arg); void thread_pool_submit(ThreadPool *pool, ThreadPoolFunc *func, void *arg); |