diff options
author | Ben LaHaise <bcrl@kvack.org> | 2002-01-24 19:55:47 +0000 |
---|---|---|
committer | Ben LaHaise <bcrl@kvack.org> | 2002-01-24 19:55:47 +0000 |
commit | 46351f42f166d8ec8d7c53e5feb6a92428590d7b (patch) | |
tree | af2c3e38f0309b61b3cd872485aee5f32f26865f /src/vsys_def.h | |
parent | 882df3457d17e05fad698c5a26f50b309b6797c8 (diff) | |
download | libaio-46351f42f166d8ec8d7c53e5feb6a92428590d7b.tar.gz |
make timespec parameters const
Diffstat (limited to 'src/vsys_def.h')
-rw-r--r-- | src/vsys_def.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vsys_def.h b/src/vsys_def.h index 68d915b..13d032e 100644 --- a/src/vsys_def.h +++ b/src/vsys_def.h @@ -19,6 +19,6 @@ extern int vsys_io_setup(unsigned nr_reqs, io_context_t *ctxp); extern int vsys_io_destroy(io_context_t ctx); extern int vsys_io_submit(io_context_t ctx, long nr, struct iocb *iocbs[]); extern int vsys_io_cancel(io_context_t ctx, struct iocb *iocb); -extern int vsys_io_wait(io_context_t ctx, struct iocb *iocb, struct timespec *when); -extern int vsys_io_getevents(io_context_t ctx_id, long nr, struct io_event *events, struct timespec *timeout); +extern int vsys_io_wait(io_context_t ctx, struct iocb *iocb, const struct timespec *when); +extern int vsys_io_getevents(io_context_t ctx_id, long nr, struct io_event *events, const struct timespec *timeout); |