mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-03 00:42:54 +00:00
AK+Kernel: Move KResult.h to Kernel/API for userspace access
This commit moves the KResult and KResultOr objects to Kernel/API to signify that they may now be freely used by userspace code at points where a syscall-related error result is to be expected. It also exposes KResult and KResultOr to the global namespace to make it nicer to use for userspace code.
This commit is contained in:
parent
d8de352ead
commit
566c5d1e99
Notes:
sideshowbarker
2024-07-18 04:44:10 +09:00
Author: https://github.com/sin-ack
Commit: 566c5d1e99
Pull-request: https://github.com/SerenityOS/serenity/pull/9826
24 changed files with 28 additions and 25 deletions
|
@ -5,7 +5,6 @@
|
|||
*/
|
||||
|
||||
#include "ISO9660FileSystem.h"
|
||||
#include "Kernel/FileSystem/BlockBasedFileSystem.h"
|
||||
#include <AK/CharacterTypes.h>
|
||||
#include <AK/Endian.h>
|
||||
#include <AK/HashFunctions.h>
|
||||
|
@ -15,9 +14,9 @@
|
|||
#include <AK/StringHash.h>
|
||||
#include <AK/StringView.h>
|
||||
#include <Kernel/Debug.h>
|
||||
#include <Kernel/FileSystem/BlockBasedFileSystem.h>
|
||||
#include <Kernel/Forward.h>
|
||||
#include <Kernel/KBuffer.h>
|
||||
#include <Kernel/KResult.h>
|
||||
#include <Kernel/UnixTypes.h>
|
||||
#include <Kernel/UserOrKernelBuffer.h>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue