svn commit: r300991 - head/sys/sys

Ed Schouten ed at FreeBSD.org
Mon May 30 09:18:14 UTC 2016


Author: ed
Date: Mon May 30 09:18:12 2016
New Revision: 300991
URL: https://svnweb.freebsd.org/changeset/base/300991

Log:
  Add missing restrict keywords to lio_listio().

Modified:
  head/sys/sys/aio.h

Modified: head/sys/sys/aio.h
==============================================================================
--- head/sys/sys/aio.h	Mon May 30 09:05:24 2016	(r300990)
+++ head/sys/sys/aio.h	Mon May 30 09:18:12 2016	(r300991)
@@ -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


More information about the svn-src-head mailing list