LibC: Make aio.h incudable in C++
aio stuff is not supported but now the header is at least includable in C++ which was not possible before as __restrict was not allowed in array size
This commit is contained in:
@@ -45,7 +45,7 @@ int aio_read(struct aiocb* aiocbp);
|
||||
ssize_t aio_return(struct aiocb* aiocbp);
|
||||
int aio_suspend(const struct aiocb* const list[], int nent, const struct timespec* timeout);
|
||||
int aio_write(struct aiocb* aiocbp);
|
||||
int lio_listio(int mode, struct aiocb* __restrict const list[__restrict], int nent, struct sigevent* __restrict sig);
|
||||
int lio_listio(int mode, struct aiocb* __restrict const* __restrict list, int nent, struct sigevent* __restrict sig);
|
||||
|
||||
__END_DECLS
|
||||
|
||||
|
||||
Reference in New Issue
Block a user