diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2010-08-09 07:33:58 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2010-08-09 07:33:58 +0000 |
commit | 4685a5901f895b14680fb22f4023f2772b6685c0 (patch) | |
tree | 481a6d20bd3da7a472dabbf300ddbbe56458564e /cpukit/posix/include/aio.h | |
parent | 2010-08-09 Ralf Corsépius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-4685a5901f895b14680fb22f4023f2772b6685c0.tar.bz2 |
2010-08-09 Ralf Corsépius <ralf.corsepius@rtems.org>
* posix/include/aio.h, posix/src/aio_return.c:
Let aio_return return ssize_t (Mandated by POSIX).
Diffstat (limited to 'cpukit/posix/include/aio.h')
-rw-r--r-- | cpukit/posix/include/aio.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cpukit/posix/include/aio.h b/cpukit/posix/include/aio.h index 85255ed25a..7472d8a54d 100644 --- a/cpukit/posix/include/aio.h +++ b/cpukit/posix/include/aio.h @@ -16,12 +16,12 @@ #ifndef _AIO_H #define _AIO_H +#include <unistd.h> + #ifdef __cplusplus extern "C" { #endif -#include <unistd.h> - #if defined(_POSIX_ASYNCHRONOUS_IO) /* @@ -109,7 +109,7 @@ int aio_error( * P1003.1b-1993, p. 162 */ -int aio_return( +ssize_t aio_return( const struct aiocb *aiocbp ); |