summaryrefslogtreecommitdiff
path: root/Kernel/SharedBuffer.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/SharedBuffer.h
parentd42f0f46616168bdff492f880b3ea432a49f7345 (diff)
downloadserenity-a356e4815098e5398e103aa69865bd6c88f7ad36.zip
Kernel: Move all code into the Kernel namespace
Diffstat (limited to 'Kernel/SharedBuffer.h')
-rw-r--r--Kernel/SharedBuffer.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/Kernel/SharedBuffer.h b/Kernel/SharedBuffer.h
index 7d7cf5ab48..949df01428 100644
--- a/Kernel/SharedBuffer.h
+++ b/Kernel/SharedBuffer.h
@@ -30,7 +30,9 @@
#include <Kernel/VM/MemoryManager.h>
#include <Kernel/VM/PurgeableVMObject.h>
-struct SharedBuffer {
+namespace Kernel {
+
+class SharedBuffer {
private:
struct Reference {
Reference(pid_t pid)
@@ -83,3 +85,5 @@ public:
};
Lockable<HashMap<int, NonnullOwnPtr<SharedBuffer>>>& shared_buffers();
+
+}