svn commit: r318100 - head/tests/sys/aio
Ngie Cooper
ngie at FreeBSD.org
Tue May 9 19:23:15 UTC 2017
Author: ngie
Date: Tue May 9 19:23:14 2017
New Revision: 318100
URL: https://svnweb.freebsd.org/changeset/base/318100
Log:
style(9): move function definition curly braces to column 0
MFC after: 3 weeks
Sponsored by: Dell EMC Isilon
Modified:
head/tests/sys/aio/aio_test.c
Modified: head/tests/sys/aio/aio_test.c
==============================================================================
--- head/tests/sys/aio/aio_test.c Tue May 9 19:20:02 2017 (r318099)
+++ head/tests/sys/aio/aio_test.c Tue May 9 19:23:14 2017 (r318100)
@@ -187,7 +187,8 @@ aio_context_init(struct aio_context *ac,
}
static ssize_t
-poll(struct aiocb *aio) {
+poll(struct aiocb *aio)
+{
int error;
while ((error = aio_error(aio)) == EINPROGRESS && !aio_timedout)
@@ -204,7 +205,8 @@ poll(struct aiocb *aio) {
}
static ssize_t
-suspend(struct aiocb *aio) {
+suspend(struct aiocb *aio)
+{
const struct aiocb *const iocbs[] = {aio};
int error;
@@ -216,7 +218,8 @@ suspend(struct aiocb *aio) {
}
static ssize_t
-waitcomplete(struct aiocb *aio) {
+waitcomplete(struct aiocb *aio)
+{
struct aiocb *aiop;
ssize_t ret;
More information about the svn-src-head
mailing list