From 39c93f63c8623d73813c2316acad8111c2e2b85a Mon Sep 17 00:00:00 2001 From: Liav A Date: Fri, 28 Apr 2023 16:11:08 +0300 Subject: [PATCH] Kernel: Move FileSystem/DeviceFileTypes.h => API/DeviceFileTypes.h This file will be used by userspace code later on, so let's move to the API directory. --- Kernel/{FileSystem => API}/DeviceFileTypes.h | 4 ---- Kernel/Devices/Device.h | 2 +- Kernel/FileSystem/InodeMetadata.h | 2 +- 3 files changed, 2 insertions(+), 6 deletions(-) rename Kernel/{FileSystem => API}/DeviceFileTypes.h (91%) diff --git a/Kernel/FileSystem/DeviceFileTypes.h b/Kernel/API/DeviceFileTypes.h similarity index 91% rename from Kernel/FileSystem/DeviceFileTypes.h rename to Kernel/API/DeviceFileTypes.h index 5b2a1545579..60d76f47f37 100644 --- a/Kernel/FileSystem/DeviceFileTypes.h +++ b/Kernel/API/DeviceFileTypes.h @@ -8,9 +8,5 @@ #include -namespace Kernel { - AK_TYPEDEF_DISTINCT_ORDERED_ID(unsigned, MajorNumber); AK_TYPEDEF_DISTINCT_ORDERED_ID(unsigned, MinorNumber); - -} diff --git a/Kernel/Devices/Device.h b/Kernel/Devices/Device.h index 43fffb39ff6..1c650163047 100644 --- a/Kernel/Devices/Device.h +++ b/Kernel/Devices/Device.h @@ -18,8 +18,8 @@ #include #include #include +#include #include -#include #include #include #include diff --git a/Kernel/FileSystem/InodeMetadata.h b/Kernel/FileSystem/InodeMetadata.h index 109bf0b7e4e..a76e13db429 100644 --- a/Kernel/FileSystem/InodeMetadata.h +++ b/Kernel/FileSystem/InodeMetadata.h @@ -9,7 +9,7 @@ #include #include #include -#include +#include #include #include #include