From 169daa11155988a210fac949297381743f3cb400 Mon Sep 17 00:00:00 2001 From: Kacper Date: Tue, 9 Dec 2025 23:14:53 +0100 Subject: feat: clang-tidy fixes --- lib/libc/fcntl/creat.c | 3 ++- lib/libc/fcntl/fcntl.c | 1 - lib/libc/fcntl/open.c | 3 ++- lib/libc/fcntl/openat.c | 3 ++- lib/libc/fcntl/posix_fadvise.c | 3 ++- lib/libc/fcntl/posix_fallocate.c | 3 ++- 6 files changed, 10 insertions(+), 6 deletions(-) (limited to 'lib/libc/fcntl') 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 // for creat #include // 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 // 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 // for FD_CLOEXEC, F_SETFD, O_CLOEXEC, O_CREAT #include // 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 // for O_CREAT, openat #include // 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 // for posix_fadvise #include // 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 // for posix_fallocate #include // for off_t -- cgit v1.2.3