mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-07 08:39:22 +00:00
Kernel+LibC: Move errno definitions to Kernel/API/POSIX
This fixes at least half of our LibC includes in the kernel. The source of truth for errno codes and their description strings now lives in Kernel/API/POSIX/errno.h as an enumeration, which LibC includes.
This commit is contained in:
parent
0cca6cef95
commit
69ef211925
Notes:
sideshowbarker
2024-07-17 22:42:55 +09:00
Author: https://github.com/sin-ack
Commit: 69ef211925
Pull-request: https://github.com/SerenityOS/serenity/pull/9977
Reviewed-by: https://github.com/Dexesttp
Reviewed-by: https://github.com/alimpfard
Reviewed-by: https://github.com/awesomekling
23 changed files with 123 additions and 183 deletions
|
@ -6,11 +6,11 @@
|
|||
|
||||
#include <AK/ScopeGuard.h>
|
||||
#include <AK/StringView.h>
|
||||
#include <Kernel/API/POSIX/errno.h>
|
||||
#include <Kernel/Arch/x86/InterruptDisabler.h>
|
||||
#include <Kernel/Debug.h>
|
||||
#include <Kernel/Process.h>
|
||||
#include <Kernel/TTY/TTY.h>
|
||||
#include <LibC/errno_numbers.h>
|
||||
#include <LibC/signal_numbers.h>
|
||||
#include <LibC/sys/ioctl_numbers.h>
|
||||
#define TTYDEFCHARS
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue