From 8bb18fdc565f4fe133f80e64101fb0d663e27bf2 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Wed, 23 Jan 2019 06:53:01 +0100 Subject: 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. --- Kernel/TTY.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'Kernel/TTY.h') 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 }; }; -- cgit v1.2.3