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/stdlib/malloc.c | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) (limited to 'lib/libc/stdlib/malloc.c') diff --git a/lib/libc/stdlib/malloc.c b/lib/libc/stdlib/malloc.c index 555a45bc..344c9623 100644 --- a/lib/libc/stdlib/malloc.c +++ b/lib/libc/stdlib/malloc.c @@ -1,13 +1,14 @@ -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include +#include "stddef.h" // for NULL + +#include // for LIBC_UNLOCK, LIBC_LOCK +#include // for __weak +#include // for (anonymous struct)::(anonymous), (anonymous) +#include // for page, page::(anonymous), class, global_size_c... +#include // for atomic_flag_clear +#include // for uint32_t, uint8_t, uintptr_t +#include // for malloc +#include // for memset +#include // for size_t, mmap, munmap, MAP_ANONYMOUS, MAP_FAILED struct page *__malloc_pvec = NULL; -- cgit v1.2.3