diff options
| author | Kacper <kacper@mail.openlinux.dev> | 2025-12-09 23:14:53 +0100 |
|---|---|---|
| committer | Kacper <kacper@mail.openlinux.dev> | 2025-12-09 23:14:53 +0100 |
| commit | 169daa11155988a210fac949297381743f3cb400 (patch) | |
| tree | 602ef5df5ae9ea075ab3d5dac3c8ad60da1ea2cc /lib/libc/fcntl | |
| parent | 4e2112e165fdd94dee58378e3ea32892f3710cd7 (diff) | |
feat: clang-tidy fixes
Diffstat (limited to 'lib/libc/fcntl')
| -rw-r--r-- | lib/libc/fcntl/creat.c | 3 | ||||
| -rw-r--r-- | lib/libc/fcntl/fcntl.c | 1 | ||||
| -rw-r--r-- | lib/libc/fcntl/open.c | 3 | ||||
| -rw-r--r-- | lib/libc/fcntl/openat.c | 3 | ||||
| -rw-r--r-- | lib/libc/fcntl/posix_fadvise.c | 3 | ||||
| -rw-r--r-- | lib/libc/fcntl/posix_fallocate.c | 3 |
6 files changed, 10 insertions, 6 deletions
diff --git a/lib/libc/fcntl/creat.c b/lib/libc/fcntl/creat.c index 43110794..4b84ecae 100644 --- a/lib/libc/fcntl/creat.c +++ b/lib/libc/fcntl/creat.c @@ -1,4 +1,5 @@ -#include "asm/unistd_64.h" // for __NR_creat + + #include <fcntl.h> // for creat #include <sys/types.h> // for mode_t diff --git a/lib/libc/fcntl/fcntl.c b/lib/libc/fcntl/fcntl.c index 6112567d..b3ca012f 100644 --- a/lib/libc/fcntl/fcntl.c +++ b/lib/libc/fcntl/fcntl.c @@ -1,4 +1,3 @@ -#include "asm/unistd_64.h" // for __NR_fcntl, __NR_close #include "errno.h" // for EINVAL #include <fcntl.h> // for F_DUPFD_CLOEXEC, FD_CLOEXEC, F_SETFD, F_D... diff --git a/lib/libc/fcntl/open.c b/lib/libc/fcntl/open.c index c00820c1..ab59e3c7 100644 --- a/lib/libc/fcntl/open.c +++ b/lib/libc/fcntl/open.c @@ -1,4 +1,5 @@ -#include "asm/unistd_64.h" // for __NR_fcntl, __NR_open + + #include <fcntl.h> // for FD_CLOEXEC, F_SETFD, O_CLOEXEC, O_CREAT #include <stdarg.h> // for va_arg, va_end, va_list, va_start diff --git a/lib/libc/fcntl/openat.c b/lib/libc/fcntl/openat.c index d3475f6b..d99693dc 100644 --- a/lib/libc/fcntl/openat.c +++ b/lib/libc/fcntl/openat.c @@ -1,4 +1,5 @@ -#include "asm/unistd_64.h" // for __NR_openat + + #include <fcntl.h> // for O_CREAT, openat #include <stdarg.h> // for va_arg, va_end, va_list, va_start diff --git a/lib/libc/fcntl/posix_fadvise.c b/lib/libc/fcntl/posix_fadvise.c index 08718294..51018a27 100644 --- a/lib/libc/fcntl/posix_fadvise.c +++ b/lib/libc/fcntl/posix_fadvise.c @@ -1,4 +1,5 @@ -#include "asm/unistd_64.h" // for __NR_fadvise64 + + #include <fcntl.h> // for posix_fadvise #include <sys/types.h> // for off_t diff --git a/lib/libc/fcntl/posix_fallocate.c b/lib/libc/fcntl/posix_fallocate.c index 61129c4a..c4a05fcc 100644 --- a/lib/libc/fcntl/posix_fallocate.c +++ b/lib/libc/fcntl/posix_fallocate.c @@ -1,4 +1,5 @@ -#include "asm/unistd_64.h" // for __NR_fallocate + + #include <fcntl.h> // for posix_fallocate #include <sys/types.h> // for off_t |
