diff options
| author | Kacper <kacper@mail.openlinux.dev> | 2025-12-25 19:24:38 +0100 |
|---|---|---|
| committer | Kacper <kacper@mail.openlinux.dev> | 2025-12-25 20:35:03 +0100 |
| commit | a984eb367c032dbe2577f01238c3d1268526be70 (patch) | |
| tree | 437fef40379b2758b129ccea39df3570fa2d145e /lib/libc/aio/lio_listio.c | |
| parent | 8834571b202cf4dc9c649cfb096c213b6ecf1566 (diff) | |
Clang-tidy fixes
Diffstat (limited to 'lib/libc/aio/lio_listio.c')
| -rw-r--r-- | lib/libc/aio/lio_listio.c | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/lib/libc/aio/lio_listio.c b/lib/libc/aio/lio_listio.c index 0a345c16..3011268e 100644 --- a/lib/libc/aio/lio_listio.c +++ b/lib/libc/aio/lio_listio.c @@ -1,15 +1,14 @@ -#include <__aio.h> -#include <aio.h> -#include <errno.h> -#include <stddef.h> -#include <stdlib.h> -#include <string.h> -#include <sys/eventfd.h> -#include <unistd.h> -#include <stdint.h> +#include <__aio.h> // for lio_group, __aio_lookup, aio_request +#include <aio.h> // for LIO_NOWAIT, aio_read, aio_write, LIO_NOP +#include <errno.h> // for errno, EINVAL, EIO +#include <stddef.h> // for NULL +#include <stdint.h> // for uint64_t +#include <stdlib.h> // for malloc +#include <string.h> // for memset +#include <sys/eventfd.h> // for eventfd, EFD_CLOEXEC +#include <unistd.h> // for read -int lio_listio(int mode, struct aiocb *restrict const list[restrict], int nent, - struct sigevent *restrict sig) +int lio_listio(int mode, struct aiocb *restrict const list[restrict], int nent, struct sigevent *restrict sig) { struct lio_group *grp = NULL; |
