forked from Imagelibrary/rtems
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).
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
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).
|
||||||
|
|
||||||
2010-08-08 Joel Sherrill <joel.sherrill@oarcorp.com>
|
2010-08-08 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||||
|
|
||||||
* libfs/src/imfs/imfs.h: Fix typo.
|
* libfs/src/imfs/imfs.h: Fix typo.
|
||||||
|
|||||||
@@ -16,12 +16,12 @@
|
|||||||
#ifndef _AIO_H
|
#ifndef _AIO_H
|
||||||
#define _AIO_H
|
#define _AIO_H
|
||||||
|
|
||||||
|
#include <unistd.h>
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <unistd.h>
|
|
||||||
|
|
||||||
#if defined(_POSIX_ASYNCHRONOUS_IO)
|
#if defined(_POSIX_ASYNCHRONOUS_IO)
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@@ -109,7 +109,7 @@ int aio_error(
|
|||||||
* P1003.1b-1993, p. 162
|
* P1003.1b-1993, p. 162
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int aio_return(
|
ssize_t aio_return(
|
||||||
const struct aiocb *aiocbp
|
const struct aiocb *aiocbp
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
@@ -22,7 +22,7 @@
|
|||||||
#include <rtems/system.h>
|
#include <rtems/system.h>
|
||||||
#include <rtems/seterr.h>
|
#include <rtems/seterr.h>
|
||||||
|
|
||||||
int aio_return(
|
ssize_t aio_return(
|
||||||
const struct aiocb *aiocbp __attribute__((unused))
|
const struct aiocb *aiocbp __attribute__((unused))
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user