소스 검색

mips,powerpc: fix TIOCSER_TEMT in termios.h

use the same token to define TIOCSER_TEMT as is used in ioctl.h
so when both headers are included there are no redefinition warnings
during musl build.
Szabolcs Nagy 7 년 전
부모
커밋
9eda4dc69c
5개의 변경된 파일5개의 추가작업 그리고 5개의 파일을 삭제
  1. 1 1
      arch/mips/bits/termios.h
  2. 1 1
      arch/mips64/bits/termios.h
  3. 1 1
      arch/mipsn32/bits/termios.h
  4. 1 1
      arch/powerpc/bits/termios.h
  5. 1 1
      arch/powerpc64/bits/termios.h

+ 1 - 1
arch/mips/bits/termios.h

@@ -163,5 +163,5 @@ struct termios {
 #define EXTPROC 0200000
 
 #define XTABS  0014000
-#define TIOCSER_TEMT 1
+#define TIOCSER_TEMT 0x01
 #endif

+ 1 - 1
arch/mips64/bits/termios.h

@@ -163,5 +163,5 @@ struct termios {
 #define EXTPROC 0200000
 
 #define XTABS  0014000
-#define TIOCSER_TEMT 1
+#define TIOCSER_TEMT 0x01
 #endif

+ 1 - 1
arch/mipsn32/bits/termios.h

@@ -163,5 +163,5 @@ struct termios {
 #define EXTPROC 0200000
 
 #define XTABS  0014000
-#define TIOCSER_TEMT 1
+#define TIOCSER_TEMT 0x01
 #endif

+ 1 - 1
arch/powerpc/bits/termios.h

@@ -165,5 +165,5 @@ struct termios {
 #define EXTPROC 0x10000000
 
 #define XTABS   00006000
-#define TIOCSER_TEMT 1
+#define TIOCSER_TEMT 0x01
 #endif

+ 1 - 1
arch/powerpc64/bits/termios.h

@@ -165,5 +165,5 @@ struct termios {
 #define EXTPROC 0x10000000
 
 #define XTABS   00006000
-#define TIOCSER_TEMT 1
+#define TIOCSER_TEMT 0x01
 #endif