diff --git a/Kernel/Devices/KeyboardDevice.h b/Kernel/Devices/KeyboardDevice.h index 37472daf4d488a577518d9949d82e44c9ea5ab2f..8a90694d941803a1cb8a29a4b6a0abc978a686a7 100644 --- a/Kernel/Devices/KeyboardDevice.h +++ b/Kernel/Devices/KeyboardDevice.h @@ -15,7 +15,7 @@ class KeyboardDevice final : public IRQHandler public: using Event = KeyEvent; - [[gnu::pure]] static KeyboardDevice& the(); + static KeyboardDevice& the(); virtual ~KeyboardDevice() override; KeyboardDevice(); diff --git a/Kernel/FileSystem/DevPtsFS.h b/Kernel/FileSystem/DevPtsFS.h index b285814cf5a25a884c65af8a9dc9cb85e7b34c27..c834b82156ba64ec15f42c24f672fd43f7160e70 100644 --- a/Kernel/FileSystem/DevPtsFS.h +++ b/Kernel/FileSystem/DevPtsFS.h @@ -8,7 +8,7 @@ class SlavePTY; class DevPtsFS final : public SynthFS { public: - [[gnu::pure]] static DevPtsFS& the(); + static DevPtsFS& the(); virtual ~DevPtsFS() override; static NonnullRefPtr create(); diff --git a/Kernel/FileSystem/ProcFS.h b/Kernel/FileSystem/ProcFS.h index 1adf44705cd66a7e46c937eae03b0cb3165153d8..14019b4fd5b5d67c109264d165db0c59029e1f5d 100644 --- a/Kernel/FileSystem/ProcFS.h +++ b/Kernel/FileSystem/ProcFS.h @@ -13,7 +13,7 @@ class ProcFS final : public FS { friend class ProcFSInode; public: - [[gnu::pure]] static ProcFS& the(); + static ProcFS& the(); virtual ~ProcFS() override; static NonnullRefPtr create(); diff --git a/Kernel/FileSystem/VirtualFileSystem.h b/Kernel/FileSystem/VirtualFileSystem.h index adf82d0b6611277bb1757986492876cb4ae1a888..230dadb7ad6e89846449318d8672f62644fc565e 100644 --- a/Kernel/FileSystem/VirtualFileSystem.h +++ b/Kernel/FileSystem/VirtualFileSystem.h @@ -51,7 +51,7 @@ public: RefPtr m_host_custody; }; - [[gnu::pure]] static VFS& the(); + static VFS& the(); VFS(); ~VFS(); diff --git a/Kernel/VM/MemoryManager.h b/Kernel/VM/MemoryManager.h index b3d59338d61b1d63fd3de79948f825f46cab7755..002911baaebbc2e2f24bc6d6bf7a57919387e8ac 100644 --- a/Kernel/VM/MemoryManager.h +++ b/Kernel/VM/MemoryManager.h @@ -40,7 +40,7 @@ class MemoryManager { friend ByteBuffer procfs$memstat(InodeIdentifier); public: - [[gnu::pure]] static MemoryManager& the(); + static MemoryManager& the(); static void initialize();