summaryrefslogtreecommitdiff
path: root/Kernel/TTY/PTYMultiplexer.cpp
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/TTY/PTYMultiplexer.cpp
parentd42f0f46616168bdff492f880b3ea432a49f7345 (diff)
downloadserenity-a356e4815098e5398e103aa69865bd6c88f7ad36.zip
Kernel: Move all code into the Kernel namespace
Diffstat (limited to 'Kernel/TTY/PTYMultiplexer.cpp')
-rw-r--r--Kernel/TTY/PTYMultiplexer.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/Kernel/TTY/PTYMultiplexer.cpp b/Kernel/TTY/PTYMultiplexer.cpp
index bdbadaa4d8..24420f14b4 100644
--- a/Kernel/TTY/PTYMultiplexer.cpp
+++ b/Kernel/TTY/PTYMultiplexer.cpp
@@ -32,6 +32,8 @@
//#define PTMX_DEBUG
+namespace Kernel {
+
static const unsigned s_max_pty_pairs = 8;
static PTYMultiplexer* s_the;
@@ -78,3 +80,5 @@ void PTYMultiplexer::notify_master_destroyed(Badge<MasterPTY>, unsigned index)
dbgprintf("PTYMultiplexer: %u added to freelist\n", index);
#endif
}
+
+}