From ddea37b52113b4cdbb20a7063d2e062bc7ee83c3 Mon Sep 17 00:00:00 2001 From: Andrew Kaster Date: Sat, 7 Jan 2023 11:14:17 -0700 Subject: Kernel+LibC: Move name length constants to Kernel/API from limits.h Reduce inclusion of limits.h as much as possible at the same time. This does mean that kmalloc.h is now including Kernel/API/POSIX/limits.h instead of LibC/limits.h, but the scope could be limited a lot more. Basically every file in the kernel includes kmalloc.h, and needs the limits.h include for PAGE_SIZE. --- Kernel/Memory/VirtualRange.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'Kernel/Memory/VirtualRange.cpp') diff --git a/Kernel/Memory/VirtualRange.cpp b/Kernel/Memory/VirtualRange.cpp index 607937f872..eea79f785a 100644 --- a/Kernel/Memory/VirtualRange.cpp +++ b/Kernel/Memory/VirtualRange.cpp @@ -8,7 +8,6 @@ #include #include #include -#include namespace Kernel::Memory { -- cgit v1.2.3