From 4da289e1b3a0d09048d9be1dfc3a7280531a1e48 Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Tue, 13 Sep 2011 21:21:53 -0400 Subject: fix return types for aio_read and aio_write again previous fix was backwards and propagated the wrong type rather than the right one... --- 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 cf94964f..ce7b4260 100644 --- a/include/aio.h +++ b/include/aio.h @@ -41,8 +41,8 @@ struct aiocb { #define LIO_WAIT 0 #define LIO_NOWAIT 1 -ssize_t aio_read(struct aiocb *); -ssize_t aio_write(struct aiocb *); +int aio_read(struct aiocb *); +int aio_write(struct aiocb *); int aio_error(const struct aiocb *); ssize_t aio_return(struct aiocb *); int aio_cancel(int, struct aiocb *); -- cgit v1.2.1