From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/8500 Path: news.gmane.org!not-for-mail From: Felix Fietkau Newsgroups: gmane.linux.lib.musl.general Subject: [PATCH] fix termios custom speed field names Date: Sun, 13 Sep 2015 18:47:38 +0200 Message-ID: <1442162858-4004-1-git-send-email-nbd@openwrt.org> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1442162882 11913 80.91.229.3 (13 Sep 2015 16:48:02 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 13 Sep 2015 16:48:02 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-8512-gllmg-musl=m.gmane.org@lists.openwall.com Sun Sep 13 18:48:02 2015 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 1ZbARd-0004bq-Ip for gllmg-musl@m.gmane.org; Sun, 13 Sep 2015 18:48:01 +0200 Original-Received: (qmail 21690 invoked by uid 550); 13 Sep 2015 16:47:58 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Original-Received: (qmail 21616 invoked from network); 13 Sep 2015 16:47:52 -0000 X-Mailer: git-send-email 2.2.2 Xref: news.gmane.org gmane.linux.lib.musl.general:8500 Archived-At: Using c_ispeed/c_ospeed is necessary for setting custom baud rates not covered by the existing defines (via BOTHER). Rename those fields to match glibc/uClibc. Signed-off-by: Felix Fietkau --- arch/aarch64/bits/termios.h | 4 ++-- arch/arm/bits/termios.h | 4 ++-- arch/i386/bits/termios.h | 4 ++-- arch/microblaze/bits/termios.h | 4 ++-- arch/mips/bits/termios.h | 4 ++-- arch/or1k/bits/termios.h | 4 ++-- arch/powerpc/bits/termios.h | 4 ++-- arch/sh/bits/termios.h | 4 ++-- arch/x32/bits/termios.h | 4 ++-- arch/x86_64/bits/termios.h | 4 ++-- 10 files changed, 20 insertions(+), 20 deletions(-) diff --git a/arch/aarch64/bits/termios.h b/arch/aarch64/bits/termios.h index 9265d6f..098322a 100644 --- a/arch/aarch64/bits/termios.h +++ b/arch/aarch64/bits/termios.h @@ -6,8 +6,8 @@ struct termios tcflag_t c_lflag; cc_t c_line; cc_t c_cc[NCCS]; - speed_t __c_ispeed; - speed_t __c_ospeed; + speed_t c_ispeed; + speed_t c_ospeed; }; #define VINTR 0 diff --git a/arch/arm/bits/termios.h b/arch/arm/bits/termios.h index f0d81b1..fcd7f9d 100644 --- a/arch/arm/bits/termios.h +++ b/arch/arm/bits/termios.h @@ -6,8 +6,8 @@ struct termios tcflag_t c_lflag; cc_t c_line; cc_t c_cc[NCCS]; - speed_t __c_ispeed; - speed_t __c_ospeed; + speed_t c_ispeed; + speed_t c_ospeed; }; #define VINTR 0 diff --git a/arch/i386/bits/termios.h b/arch/i386/bits/termios.h index f0d81b1..fcd7f9d 100644 --- a/arch/i386/bits/termios.h +++ b/arch/i386/bits/termios.h @@ -6,8 +6,8 @@ struct termios tcflag_t c_lflag; cc_t c_line; cc_t c_cc[NCCS]; - speed_t __c_ispeed; - speed_t __c_ospeed; + speed_t c_ispeed; + speed_t c_ospeed; }; #define VINTR 0 diff --git a/arch/microblaze/bits/termios.h b/arch/microblaze/bits/termios.h index f0d81b1..fcd7f9d 100644 --- a/arch/microblaze/bits/termios.h +++ b/arch/microblaze/bits/termios.h @@ -6,8 +6,8 @@ struct termios tcflag_t c_lflag; cc_t c_line; cc_t c_cc[NCCS]; - speed_t __c_ispeed; - speed_t __c_ospeed; + speed_t c_ispeed; + speed_t c_ospeed; }; #define VINTR 0 diff --git a/arch/mips/bits/termios.h b/arch/mips/bits/termios.h index 487c1d4..8c4ec62 100644 --- a/arch/mips/bits/termios.h +++ b/arch/mips/bits/termios.h @@ -6,8 +6,8 @@ struct termios tcflag_t c_lflag; cc_t c_line; cc_t c_cc[NCCS]; - speed_t __c_ispeed; - speed_t __c_ospeed; + speed_t c_ispeed; + speed_t c_ospeed; }; #define VINTR 0 diff --git a/arch/or1k/bits/termios.h b/arch/or1k/bits/termios.h index da26644..61f5c6c 100644 --- a/arch/or1k/bits/termios.h +++ b/arch/or1k/bits/termios.h @@ -5,8 +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; + speed_t c_ispeed; + speed_t c_ospeed; }; #define VINTR 0 diff --git a/arch/powerpc/bits/termios.h b/arch/powerpc/bits/termios.h index 9f8016c..2cd7f1e 100644 --- a/arch/powerpc/bits/termios.h +++ b/arch/powerpc/bits/termios.h @@ -8,8 +8,8 @@ struct termios tcflag_t c_lflag; cc_t c_cc[NCCS]; cc_t c_line; - speed_t __c_ispeed; - speed_t __c_ospeed; + speed_t c_ispeed; + speed_t c_ospeed; }; #define VINTR 0 diff --git a/arch/sh/bits/termios.h b/arch/sh/bits/termios.h index f0d81b1..fcd7f9d 100644 --- a/arch/sh/bits/termios.h +++ b/arch/sh/bits/termios.h @@ -6,8 +6,8 @@ struct termios tcflag_t c_lflag; cc_t c_line; cc_t c_cc[NCCS]; - speed_t __c_ispeed; - speed_t __c_ospeed; + speed_t c_ispeed; + speed_t c_ospeed; }; #define VINTR 0 diff --git a/arch/x32/bits/termios.h b/arch/x32/bits/termios.h index f0d81b1..fcd7f9d 100644 --- a/arch/x32/bits/termios.h +++ b/arch/x32/bits/termios.h @@ -6,8 +6,8 @@ struct termios tcflag_t c_lflag; cc_t c_line; cc_t c_cc[NCCS]; - speed_t __c_ispeed; - speed_t __c_ospeed; + speed_t c_ispeed; + speed_t c_ospeed; }; #define VINTR 0 diff --git a/arch/x86_64/bits/termios.h b/arch/x86_64/bits/termios.h index f0d81b1..fcd7f9d 100644 --- a/arch/x86_64/bits/termios.h +++ b/arch/x86_64/bits/termios.h @@ -6,8 +6,8 @@ struct termios tcflag_t c_lflag; cc_t c_line; cc_t c_cc[NCCS]; - speed_t __c_ispeed; - speed_t __c_ospeed; + speed_t c_ispeed; + speed_t c_ospeed; }; #define VINTR 0 -- 2.2.2