diff options
-rw-r--r-- | Kernel/FileSystem/Forward.h | 3 | ||||
-rw-r--r-- | Kernel/FileSystem/SysFS.h | 4 | ||||
-rw-r--r-- | Kernel/SystemExposed.h | 2 |
3 files changed, 4 insertions, 5 deletions
diff --git a/Kernel/FileSystem/Forward.h b/Kernel/FileSystem/Forward.h index 5216927667..859af7747e 100644 --- a/Kernel/FileSystem/Forward.h +++ b/Kernel/FileSystem/Forward.h @@ -11,6 +11,9 @@ namespace Kernel { class FileSystem; class Inode; class Mount; +class SysFS; +class SysFSDirectoryInode; +class SysFSInode; class VirtualFileSystem; struct InodeMetadata; diff --git a/Kernel/FileSystem/SysFS.h b/Kernel/FileSystem/SysFS.h index b63b45b383..41a272e360 100644 --- a/Kernel/FileSystem/SysFS.h +++ b/Kernel/FileSystem/SysFS.h @@ -17,10 +17,6 @@ namespace Kernel { -class SysFS; -class SysFSInode; -class SysFSDirectoryInode; - class SysFSRootFolder final : public SysFSDirectory { friend class SysFSComponentRegistry; diff --git a/Kernel/SystemExposed.h b/Kernel/SystemExposed.h index 190021c3c5..621d6399f5 100644 --- a/Kernel/SystemExposed.h +++ b/Kernel/SystemExposed.h @@ -13,12 +13,12 @@ #include <AK/Types.h> #include <Kernel/FileSystem/File.h> #include <Kernel/FileSystem/FileSystem.h> +#include <Kernel/FileSystem/Forward.h> #include <Kernel/KResult.h> #include <Kernel/UserOrKernelBuffer.h> namespace Kernel { -class SysFS; class SysFSComponent : public RefCounted<SysFSComponent> { public: virtual KResultOr<size_t> entries_count() const { VERIFY_NOT_REACHED(); }; |