summaryrefslogtreecommitdiffstats
path: root/sys/sys/aio.h
diff options
context:
space:
mode:
authored <ed@FreeBSD.org>2016-05-30 09:18:12 +0000
committered <ed@FreeBSD.org>2016-05-30 09:18:12 +0000
commit9d0465d592c2fea5a97c7a7127572abba625dad6 (patch)
treed2da1e05a0dcedc685941d70f5ccb8712f686006 /sys/sys/aio.h
parent3c8326d3d881e539d4af3580d6a56a1f6d08f2c4 (diff)
downloadFreeBSD-src-9d0465d592c2fea5a97c7a7127572abba625dad6.zip
FreeBSD-src-9d0465d592c2fea5a97c7a7127572abba625dad6.tar.gz
Add missing restrict keywords to lio_listio().
Diffstat (limited to 'sys/sys/aio.h')
-rw-r--r--sys/sys/aio.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/sys/aio.h b/sys/sys/aio.h
index 0abee2d..3c6ed54 100644
--- a/sys/sys/aio.h
+++ b/sys/sys/aio.h
@@ -205,7 +205,8 @@ int aio_write(struct aiocb *);
* "acb_list" is an array of "nacb_listent" I/O control blocks.
* when all I/Os are complete, the optional signal "sig" is sent.
*/
-int lio_listio(int, struct aiocb * const [], int, struct sigevent *);
+int lio_listio(int, struct aiocb *__restrict const *__restrict, int,
+ struct sigevent *);
/*
* Get completion status
OpenPOWER on IntegriCloud