|
Message-ID: <7034d7753541b21bcd212e8224ef6f701fa1a118.1467552244.git.nsz@port70.net> Date: Sun, 3 Jul 2016 17:10:15 +0200 From: Szabolcs Nagy <nsz@...t70.net> To: musl@...ts.openwall.com Subject: [PATCH 16/16] fix struct termios in mips64 and mipsn32 termios.h add the unused *speed members like on mips for future expansions and compatibility across targets. (this is a mips64 abi change.) --- arch/mips/bits/termios.h | 3 +-- arch/mips64/bits/termios.h | 2 ++ arch/mipsn32/bits/termios.h | 2 ++ 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/arch/mips/bits/termios.h b/arch/mips/bits/termios.h index 29b4b22..f559f76 100644 --- a/arch/mips/bits/termios.h +++ b/arch/mips/bits/termios.h @@ -1,5 +1,4 @@ -struct termios -{ +struct termios { tcflag_t c_iflag; tcflag_t c_oflag; tcflag_t c_cflag; diff --git a/arch/mips64/bits/termios.h b/arch/mips64/bits/termios.h index d97df8c..f559f76 100644 --- a/arch/mips64/bits/termios.h +++ b/arch/mips64/bits/termios.h @@ -5,6 +5,8 @@ struct termios { tcflag_t c_lflag; cc_t c_line; cc_t c_cc[NCCS]; + speed_t __c_ispeed; + speed_t __c_ospeed; }; #define VINTR 0 diff --git a/arch/mipsn32/bits/termios.h b/arch/mipsn32/bits/termios.h index d97df8c..f559f76 100644 --- a/arch/mipsn32/bits/termios.h +++ b/arch/mipsn32/bits/termios.h @@ -5,6 +5,8 @@ struct termios { tcflag_t c_lflag; cc_t c_line; cc_t c_cc[NCCS]; + speed_t __c_ispeed; + speed_t __c_ospeed; }; #define VINTR 0 -- 2.8.1
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.