Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(383)

Unified Diff: fusl/include/aio.h

Issue 1714623002: [fusl] clang-format fusl (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: headers too Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: fusl/include/aio.h
diff --git a/fusl/include/aio.h b/fusl/include/aio.h
index 19bc28a9b19e0d5c3aa90fcf1aa8a36745dcf259..8b4dc072865f10c8e531675cee8a8e78d0d4675b 100644
--- a/fusl/include/aio.h
+++ b/fusl/include/aio.h
@@ -15,17 +15,17 @@ extern "C" {
#include <bits/alltypes.h>
struct aiocb {
- int aio_fildes, aio_lio_opcode, aio_reqprio;
- volatile void *aio_buf;
- size_t aio_nbytes;
- struct sigevent aio_sigevent;
- void *__td;
- int __lock[2];
- volatile int __err;
- ssize_t __ret;
- off_t aio_offset;
- void *__next, *__prev;
- char __dummy4[32-2*sizeof(void *)];
+ int aio_fildes, aio_lio_opcode, aio_reqprio;
+ volatile void* aio_buf;
+ size_t aio_nbytes;
+ struct sigevent aio_sigevent;
+ void* __td;
+ int __lock[2];
+ volatile int __err;
+ ssize_t __ret;
+ off_t aio_offset;
+ void *__next, *__prev;
+ char __dummy4[32 - 2 * sizeof(void*)];
};
#define AIO_CANCELED 0
@@ -39,15 +39,18 @@ struct aiocb {
#define LIO_WAIT 0
#define LIO_NOWAIT 1
-int aio_read(struct aiocb *);
-int aio_write(struct aiocb *);
-int aio_error(const struct aiocb *);
-ssize_t aio_return(struct aiocb *);
-int aio_cancel(int, struct aiocb *);
-int aio_suspend(const struct aiocb *const [], int, const struct timespec *);
-int aio_fsync(int, struct aiocb *);
+int aio_read(struct aiocb*);
+int aio_write(struct aiocb*);
+int aio_error(const struct aiocb*);
+ssize_t aio_return(struct aiocb*);
+int aio_cancel(int, struct aiocb*);
+int aio_suspend(const struct aiocb* const[], int, const struct timespec*);
+int aio_fsync(int, struct aiocb*);
-int lio_listio(int, struct aiocb *__restrict const *__restrict, int, struct sigevent *__restrict);
+int lio_listio(int,
+ struct aiocb* __restrict const* __restrict,
+ int,
+ struct sigevent* __restrict);
#if defined(_LARGEFILE64_SOURCE) || defined(_GNU_SOURCE)
#define aiocb64 aiocb
« fusl/arch/aarch64/atomic_arch.h ('K') | « fusl/crt/rcrt1.c ('k') | fusl/include/alloca.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698