diff options
| author | Kacper <kacper@mail.openlinux.dev> | 2025-12-09 21:17:12 +0100 |
|---|---|---|
| committer | Kacper <kacper@mail.openlinux.dev> | 2025-12-09 21:17:12 +0100 |
| commit | b5cd18739a64c8d923a55b61c89ae3900faafd84 (patch) | |
| tree | d192f7b25257ae9a8a4760c68f5314dcbc0d9b91 /lib/libc/devctl | |
| parent | 119aed5bc787ccbf23d2f151759ec1f3a80977e1 (diff) | |
Fix include paths and formatting inconsistencies
Diffstat (limited to 'lib/libc/devctl')
| -rw-r--r-- | lib/libc/devctl/posix_devctl.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/lib/libc/devctl/posix_devctl.c b/lib/libc/devctl/posix_devctl.c index b7c24d79..90eea9f9 100644 --- a/lib/libc/devctl/posix_devctl.c +++ b/lib/libc/devctl/posix_devctl.c @@ -1,7 +1,9 @@ -#include <libc.h> -#include <devctl.h> -#include <errno.h> -#include <syscall.h> +#include "asm/unistd_64.h" // for __NR_ioctl + +#include <devctl.h> // for posix_devctl, size_t +#include <errno.h> // for errno +#include <libc.h> // for __unused +#include <syscall.h> // for __syscall_3, syscall int posix_devctl(int fildes, int dcmd, void *restrict dev_data_ptr, size_t __unused nbyte, int *restrict dev_info_ptr) |
