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 |