From 13cd969552409e05c941829f2aabb15e2f4d9a1f Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Tue, 13 Sep 2011 21:09:35 -0400 Subject: fix various errors in function signatures/prototypes found by nsz --- include/aio.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/aio.h') diff --git a/include/aio.h b/include/aio.h index c0dab9c5..cf94964f 100644 --- a/include/aio.h +++ b/include/aio.h @@ -43,10 +43,10 @@ struct aiocb { ssize_t aio_read(struct aiocb *); ssize_t aio_write(struct aiocb *); -int aio_error(struct aiocb *); +int aio_error(const struct aiocb *); ssize_t aio_return(struct aiocb *); int aio_cancel(int, struct aiocb *); -int aio_suspend(struct aiocb *const [], int, const struct timespec *); +int aio_suspend(const struct aiocb *const [], int, const struct timespec *); int aio_fsync(int, struct aiocb *); int lio_listio(int, struct aiocb *const [], int, struct sigevent *); -- cgit v1.2.1