diff options
author | sin-ack <sin-ack@users.noreply.github.com> | 2021-09-04 21:04:10 +0000 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-09-05 12:54:48 +0200 |
commit | 566c5d1e99b096f83b39bc37be57db0c6a4fe195 (patch) | |
tree | 379529cf9cd19972c1ecc34d26e539caade1234e /Kernel/StdLib.h | |
parent | d8de352eadce62789a00f8d6da6c2e77903e9180 (diff) | |
download | serenity-566c5d1e99b096f83b39bc37be57db0c6a4fe195.zip |
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.
Diffstat (limited to 'Kernel/StdLib.h')
-rw-r--r-- | Kernel/StdLib.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/StdLib.h b/Kernel/StdLib.h index 642fbbfc41..24d0fda1bf 100644 --- a/Kernel/StdLib.h +++ b/Kernel/StdLib.h @@ -10,7 +10,7 @@ #include <AK/Forward.h> #include <AK/Time.h> #include <AK/Userspace.h> -#include <Kernel/KResult.h> +#include <Kernel/API/KResult.h> #include <Kernel/KString.h> #include <Kernel/UnixTypes.h> |