diff --git a/winsup/cygwin/aio.cc b/winsup/cygwin/aio.cc index 1c17aa7f6..c4b3389c4 100644 --- a/winsup/cygwin/aio.cc +++ b/winsup/cygwin/aio.cc @@ -905,7 +905,7 @@ aio_write (struct aiocb *aio) } int -lio_listio (int mode, struct aiocb *__restrict const aiolist[__restrict], +lio_listio (int mode, struct aiocb *__restrict const aiolist[__restrict_arr], int nent, struct sigevent *__restrict sig) { struct aiocb *aio; diff --git a/winsup/cygwin/include/aio.h b/winsup/cygwin/include/aio.h index 523a47870..7ddd17e83 100644 --- a/winsup/cygwin/include/aio.h +++ b/winsup/cygwin/include/aio.h @@ -73,7 +73,7 @@ ssize_t aio_return (struct aiocb *); int aio_suspend (const struct aiocb *const [], int, const struct timespec *); int aio_write (struct aiocb *); -int lio_listio (int, struct aiocb *__restrict const [__restrict], int, +int lio_listio (int, struct aiocb *__restrict const [__restrict_arr], int, struct sigevent *__restrict); #ifdef __cplusplus