mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-18 17:12:54 +00:00
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.
This commit is contained in:
parent
046c23f567
commit
ddea37b521
Notes:
sideshowbarker
2024-07-17 01:25:26 +09:00
Author: https://github.com/ADKaster
Commit: ddea37b521
Pull-request: https://github.com/SerenityOS/serenity/pull/16896
8 changed files with 19 additions and 21 deletions
|
@ -20,7 +20,6 @@
|
|||
#include <Kernel/Random.h>
|
||||
#include <Kernel/Scheduler.h>
|
||||
#include <Kernel/Time/TimeManagement.h>
|
||||
#include <LibC/limits.h>
|
||||
#include <LibELF/AuxiliaryVector.h>
|
||||
#include <LibELF/Image.h>
|
||||
#include <LibELF/Validation.h>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue