summaryrefslogtreecommitdiff
path: root/Kernel/TTY.h
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-01-23 06:53:01 +0100
committerAndreas Kling <awesomekling@gmail.com>2019-01-23 06:57:00 +0100
commit8bb18fdc565f4fe133f80e64101fb0d663e27bf2 (patch)
tree44a16f30690aa7bad64afb79f44ac04d440a256f /Kernel/TTY.h
parent69a3aecf6b0e5f1d1a52e7adc6ed2b98cb3b0abe (diff)
downloadserenity-8bb18fdc565f4fe133f80e64101fb0d663e27bf2.zip
Kernel: Get rid of Unix namespace.
This is no longer needed as the Kernel can stand on its own legs now and there won't be any conflict with host system data types.
Diffstat (limited to 'Kernel/TTY.h')
-rw-r--r--Kernel/TTY.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/Kernel/TTY.h b/Kernel/TTY.h
index 178b474152..686f69dbd7 100644
--- a/Kernel/TTY.h
+++ b/Kernel/TTY.h
@@ -24,8 +24,7 @@ public:
void set_pgid(pid_t pgid) { m_pgid = pgid; }
pid_t pgid() const { return m_pgid; }
- const Unix::termios& termios() const { return m_termios; }
- void set_termios(const Unix::termios&);
+ void set_termios(const termios&);
bool should_generate_signals() const { return m_termios.c_lflag & ISIG; }
bool should_echo_input() const { return m_termios.c_lflag & ECHO; }
bool in_canonical_mode() const { return m_termios.c_lflag & ICANON; }
@@ -47,7 +46,7 @@ private:
DoubleBuffer m_buffer;
pid_t m_pgid { 0 };
- Unix::termios m_termios;
+ termios m_termios;
unsigned short m_rows { 0 };
unsigned short m_columns { 0 };
};