From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/10275 Path: news.gmane.org!not-for-mail From: Szabolcs Nagy Newsgroups: gmane.linux.lib.musl.general Subject: [PATCH 16/16] fix struct termios in mips64 and mipsn32 termios.h Date: Sun, 3 Jul 2016 17:10:15 +0200 Message-ID: <7034d7753541b21bcd212e8224ef6f701fa1a118.1467552244.git.nsz@port70.net> References: Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1467558644 2186 80.91.229.3 (3 Jul 2016 15:10:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 3 Jul 2016 15:10:44 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-10288-gllmg-musl=m.gmane.org@lists.openwall.com Sun Jul 03 17:10:41 2016 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1bJj2e-0005Yg-4m for gllmg-musl@m.gmane.org; Sun, 03 Jul 2016 17:10:40 +0200 Original-Received: (qmail 30325 invoked by uid 550); 3 Jul 2016 15:10:38 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Original-Received: (qmail 30220 invoked from network); 3 Jul 2016 15:10:27 -0000 Mail-Followup-To: musl@lists.openwall.com Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) Xref: news.gmane.org gmane.linux.lib.musl.general:10275 Archived-At: 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