summaryrefslogtreecommitdiff
path: root/Kernel/Devices/NullDevice.h
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2020-02-16 01:27:42 +0100
committerAndreas Kling <kling@serenityos.org>2020-02-16 01:27:42 +0100
commita356e4815098e5398e103aa69865bd6c88f7ad36 (patch)
tree50437c6444405f12671bce7f04a8c1b10cff70f8 /Kernel/Devices/NullDevice.h
parentd42f0f46616168bdff492f880b3ea432a49f7345 (diff)
downloadserenity-a356e4815098e5398e103aa69865bd6c88f7ad36.zip
Kernel: Move all code into the Kernel namespace
Diffstat (limited to 'Kernel/Devices/NullDevice.h')
-rw-r--r--Kernel/Devices/NullDevice.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Kernel/Devices/NullDevice.h b/Kernel/Devices/NullDevice.h
index 0acbac2c5f..bcfaafae3d 100644
--- a/Kernel/Devices/NullDevice.h
+++ b/Kernel/Devices/NullDevice.h
@@ -28,6 +28,8 @@
#include "CharacterDevice.h"
+namespace Kernel {
+
class NullDevice final : public CharacterDevice {
AK_MAKE_ETERNAL
public:
@@ -44,3 +46,5 @@ private:
virtual bool can_read(const FileDescription&) const override;
virtual const char* class_name() const override { return "NullDevice"; }
};
+
+}