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:
sin-ack 2021-09-12 11:29:28 +00:00 committed by Ali Mohammad Pur
commit 69ef211925
Notes: sideshowbarker 2024-07-17 22:42:55 +09:00
23 changed files with 123 additions and 183 deletions

View file

@ -12,7 +12,7 @@
#include <AK/Variant.h>
#if defined(__serenity__) && defined(KERNEL)
# include <LibC/errno_numbers.h>
# include <LibC/errno_codes.h>
#else
# include <errno.h>
#endif