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/mman/mlock.c | 3 ++- lib/libc/mman/mlockall.c | 3 ++- lib/libc/mman/mmap.c | 3 ++- lib/libc/mman/mprotect.c | 3 ++- lib/libc/mman/msync.c | 3 ++- lib/libc/mman/munlock.c | 3 ++- lib/libc/mman/munlockall.c | 3 ++- lib/libc/mman/munmap.c | 4 +++- lib/libc/mman/posix_madvise.c | 4 +++- 9 files changed, 20 insertions(+), 9 deletions(-) (limited to 'lib/libc/mman') diff --git a/lib/libc/mman/mlock.c b/lib/libc/mman/mlock.c index c46b9435..a8b029c6 100644 --- a/lib/libc/mman/mlock.c +++ b/lib/libc/mman/mlock.c @@ -1,4 +1,5 @@ -#include "asm/unistd_64.h" // for __NR_mlock + + #include // for size_t #include // for __syscall_2, syscall diff --git a/lib/libc/mman/mlockall.c b/lib/libc/mman/mlockall.c index ef12edd3..9adb6b9e 100644 --- a/lib/libc/mman/mlockall.c +++ b/lib/libc/mman/mlockall.c @@ -1,4 +1,5 @@ -#include "asm/unistd_64.h" // for __NR_mlockall + + #include // for __syscall_1, syscall diff --git a/lib/libc/mman/mmap.c b/lib/libc/mman/mmap.c index c2a3fa72..f5e09265 100644 --- a/lib/libc/mman/mmap.c +++ b/lib/libc/mman/mmap.c @@ -1,4 +1,5 @@ -#include "asm/unistd_64.h" // for __NR_mmap + + #include // for size_t #include // for __syscall_6, syscall diff --git a/lib/libc/mman/mprotect.c b/lib/libc/mman/mprotect.c index 5c96f9b8..068d7e68 100644 --- a/lib/libc/mman/mprotect.c +++ b/lib/libc/mman/mprotect.c @@ -1,4 +1,5 @@ -#include "asm/unistd_64.h" // for __NR_mprotect + + #include // for size_t #include // for __syscall_3, syscall diff --git a/lib/libc/mman/msync.c b/lib/libc/mman/msync.c index c25a18e7..6cf3688b 100644 --- a/lib/libc/mman/msync.c +++ b/lib/libc/mman/msync.c @@ -1,4 +1,5 @@ -#include "asm/unistd_64.h" // for __NR_msync + + #include // for size_t #include // for __syscall_3, syscall diff --git a/lib/libc/mman/munlock.c b/lib/libc/mman/munlock.c index 2d62c032..4e1901ef 100644 --- a/lib/libc/mman/munlock.c +++ b/lib/libc/mman/munlock.c @@ -1,4 +1,5 @@ -#include "asm/unistd_64.h" // for __NR_munlock + + #include // for size_t #include // for __syscall_2, syscall diff --git a/lib/libc/mman/munlockall.c b/lib/libc/mman/munlockall.c index ecf9ddbc..cdeb5253 100644 --- a/lib/libc/mman/munlockall.c +++ b/lib/libc/mman/munlockall.c @@ -1,4 +1,5 @@ -#include "asm/unistd_64.h" // for __NR_munlockall + + #include // for __syscall_0, syscall diff --git a/lib/libc/mman/munmap.c b/lib/libc/mman/munmap.c index 04ad9800..7a4fe5fc 100644 --- a/lib/libc/mman/munmap.c +++ b/lib/libc/mman/munmap.c @@ -1,5 +1,7 @@ -#include "asm/unistd_64.h" // for __NR_munmap + + +#include #include // for munmap, size_t #include // for __syscall_2, syscall diff --git a/lib/libc/mman/posix_madvise.c b/lib/libc/mman/posix_madvise.c index e81c6712..6e9243ca 100644 --- a/lib/libc/mman/posix_madvise.c +++ b/lib/libc/mman/posix_madvise.c @@ -1,5 +1,7 @@ -#include "asm/unistd_64.h" // for __NR_madvise + + +#include #include // for posix_madvise, size_t #include // for __syscall_3, syscall -- cgit v1.2.3