summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSzabolcs Nagy <nsz@port70.net>2016-07-03 17:09:29 +0200
committerRich Felker <dalias@aerifal.cx>2016-07-03 15:02:24 -0400
commit8c316e9e49d37ad92c2e7493e16166a2afca419f (patch)
tree94afa16b06eef3d28edb6acf4357cb7ca12805b7
parentee9b5900fb098edd3e8d3df375cac8b2cfe8551f (diff)
downloadmusl-8c316e9e49d37ad92c2e7493e16166a2afca419f.tar.gz
fix TCS* definitions in mips termios.h
these were incorrectly using the generic definitions.
-rw-r--r--arch/mips/bits/termios.h6
-rw-r--r--arch/mips64/bits/termios.h6
-rw-r--r--arch/mipsn32/bits/termios.h6
3 files changed, 9 insertions, 9 deletions
diff --git a/arch/mips/bits/termios.h b/arch/mips/bits/termios.h
index 55ba1323..29b4b220 100644
--- a/arch/mips/bits/termios.h
+++ b/arch/mips/bits/termios.h
@@ -142,9 +142,9 @@ struct termios
#define TCOFLUSH 1
#define TCIOFLUSH 2
-#define TCSANOW 0
-#define TCSADRAIN 1
-#define TCSAFLUSH 2
+#define TCSANOW 0x540e
+#define TCSADRAIN 0x540f
+#define TCSAFLUSH 0x5410
#if defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
#define EXTA 0000016
diff --git a/arch/mips64/bits/termios.h b/arch/mips64/bits/termios.h
index 6a1205d7..f559f76f 100644
--- a/arch/mips64/bits/termios.h
+++ b/arch/mips64/bits/termios.h
@@ -141,9 +141,9 @@ struct termios {
#define TCOFLUSH 1
#define TCIOFLUSH 2
-#define TCSANOW 0
-#define TCSADRAIN 1
-#define TCSAFLUSH 2
+#define TCSANOW 0x540e
+#define TCSADRAIN 0x540f
+#define TCSAFLUSH 0x5410
#if defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
#define EXTA 0000016
diff --git a/arch/mipsn32/bits/termios.h b/arch/mipsn32/bits/termios.h
index 6a1205d7..f559f76f 100644
--- a/arch/mipsn32/bits/termios.h
+++ b/arch/mipsn32/bits/termios.h
@@ -141,9 +141,9 @@ struct termios {
#define TCOFLUSH 1
#define TCIOFLUSH 2
-#define TCSANOW 0
-#define TCSADRAIN 1
-#define TCSAFLUSH 2
+#define TCSANOW 0x540e
+#define TCSADRAIN 0x540f
+#define TCSAFLUSH 0x5410
#if defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
#define EXTA 0000016