mirror of git://git.musl-libc.org/musl
remove ioctl macros that were removed from linux uapi
TIOCTTYGSTRUCT, TIOCGHAYESESP, TIOCSHAYESESP and TIOCM_MODEM_BITS were removed from the linux uapi and not present in glibc ioctl.h
This commit is contained in:
parent
76d7cfb7e6
commit
2df9ae9161
|
@ -46,7 +46,6 @@
|
|||
#define TIOCSETD 0x5423
|
||||
#define TIOCGETD 0x5424
|
||||
#define TCSBRKP 0x5425
|
||||
#define TIOCTTYGSTRUCT 0x5426
|
||||
#define TIOCSBRK 0x5427
|
||||
#define TIOCCBRK 0x5428
|
||||
#define TIOCGSID 0x5429
|
||||
|
@ -72,8 +71,6 @@
|
|||
|
||||
#define TIOCMIWAIT 0x545C
|
||||
#define TIOCGICOUNT 0x545D
|
||||
#define TIOCGHAYESESP 0x545E
|
||||
#define TIOCSHAYESESP 0x545F
|
||||
#define FIOQSIZE 0x5460
|
||||
|
||||
#define TIOCPKT_DATA 0
|
||||
|
@ -108,7 +105,6 @@ struct winsize {
|
|||
#define TIOCM_OUT1 0x2000
|
||||
#define TIOCM_OUT2 0x4000
|
||||
#define TIOCM_LOOP 0x8000
|
||||
#define TIOCM_MODEM_BITS TIOCM_OUT2
|
||||
|
||||
#define N_TTY 0
|
||||
#define N_SLIP 1
|
||||
|
|
|
@ -80,10 +80,7 @@
|
|||
#define TIOCSERSETMULTI 0x5490
|
||||
#define TIOCMIWAIT 0x5491
|
||||
#define TIOCGICOUNT 0x5492
|
||||
#define TIOCGHAYESESP 0x5493
|
||||
#define TIOCSHAYESESP 0x5494
|
||||
|
||||
#define TIOCTTYGSTRUCT 0x5426 // RICH: Not sure about these.
|
||||
#define TCGETX 0x5432 // RICH: Not sure about these.
|
||||
#define TCSETX 0x5433 // RICH: Not sure about these.
|
||||
#define TCSETXF 0x5434 // RICH: Not sure about these.
|
||||
|
@ -121,7 +118,6 @@ struct winsize {
|
|||
#define TIOCM_OUT1 0x2000
|
||||
#define TIOCM_OUT2 0x4000
|
||||
#define TIOCM_LOOP 0x8000
|
||||
#define TIOCM_MODEM_BITS TIOCM_OUT2
|
||||
|
||||
#define N_TTY 0
|
||||
#define N_SLIP 1
|
||||
|
|
|
@ -80,10 +80,7 @@
|
|||
#define TIOCSERSETMULTI 0x5490
|
||||
#define TIOCMIWAIT 0x5491
|
||||
#define TIOCGICOUNT 0x5492
|
||||
#define TIOCGHAYESESP 0x5493
|
||||
#define TIOCSHAYESESP 0x5494
|
||||
|
||||
#define TIOCTTYGSTRUCT 0x5426
|
||||
#define TCGETX 0x5432
|
||||
#define TCSETX 0x5433
|
||||
#define TCSETXF 0x5434
|
||||
|
@ -121,7 +118,6 @@ struct winsize {
|
|||
#define TIOCM_OUT1 0x2000
|
||||
#define TIOCM_OUT2 0x4000
|
||||
#define TIOCM_LOOP 0x8000
|
||||
#define TIOCM_MODEM_BITS TIOCM_OUT2
|
||||
|
||||
#define N_TTY 0
|
||||
#define N_SLIP 1
|
||||
|
|
|
@ -80,10 +80,7 @@
|
|||
#define TIOCSERSETMULTI 0x5490
|
||||
#define TIOCMIWAIT 0x5491
|
||||
#define TIOCGICOUNT 0x5492
|
||||
#define TIOCGHAYESESP 0x5493
|
||||
#define TIOCSHAYESESP 0x5494
|
||||
|
||||
#define TIOCTTYGSTRUCT 0x5426
|
||||
#define TCGETX 0x5432
|
||||
#define TCSETX 0x5433
|
||||
#define TCSETXF 0x5434
|
||||
|
@ -121,7 +118,6 @@ struct winsize {
|
|||
#define TIOCM_OUT1 0x2000
|
||||
#define TIOCM_OUT2 0x4000
|
||||
#define TIOCM_LOOP 0x8000
|
||||
#define TIOCM_MODEM_BITS TIOCM_OUT2
|
||||
|
||||
#define N_TTY 0
|
||||
#define N_SLIP 1
|
||||
|
|
|
@ -120,16 +120,11 @@
|
|||
/* end kernel header ioctls.h */
|
||||
|
||||
|
||||
#define TIOCTTYGSTRUCT 0x5426
|
||||
|
||||
#define TCGETX 0x5432
|
||||
#define TCSETX 0x5433
|
||||
#define TCSETXF 0x5434
|
||||
#define TCSETXW 0x5435
|
||||
|
||||
#define TIOCGHAYESESP 0x545E
|
||||
#define TIOCSHAYESESP 0x545F
|
||||
|
||||
struct winsize {
|
||||
unsigned short ws_row;
|
||||
unsigned short ws_col;
|
||||
|
@ -137,8 +132,6 @@ struct winsize {
|
|||
unsigned short ws_ypixel;
|
||||
};
|
||||
|
||||
#define TIOCM_MODEM_BITS TIOCM_OUT2
|
||||
|
||||
#define N_TTY 0
|
||||
#define N_SLIP 1
|
||||
#define N_MOUSE 2
|
||||
|
|
|
@ -123,16 +123,11 @@
|
|||
/* end kernel header ioctls.h */
|
||||
|
||||
|
||||
#define TIOCTTYGSTRUCT 0x5426
|
||||
|
||||
#define TCGETX 0x5432
|
||||
#define TCSETX 0x5433
|
||||
#define TCSETXF 0x5434
|
||||
#define TCSETXW 0x5435
|
||||
|
||||
#define TIOCGHAYESESP 0x545E
|
||||
#define TIOCSHAYESESP 0x545F
|
||||
|
||||
struct winsize {
|
||||
unsigned short ws_row;
|
||||
unsigned short ws_col;
|
||||
|
@ -140,8 +135,6 @@ struct winsize {
|
|||
unsigned short ws_ypixel;
|
||||
};
|
||||
|
||||
#define TIOCM_MODEM_BITS TIOCM_OUT2
|
||||
|
||||
#define N_TTY 0
|
||||
#define N_SLIP 1
|
||||
#define N_MOUSE 2
|
||||
|
|
|
@ -119,8 +119,6 @@ struct winsize {
|
|||
unsigned short ws_ypixel;
|
||||
};
|
||||
|
||||
#define TIOCM_MODEM_BITS TIOCM_OUT2
|
||||
|
||||
#define N_TTY 0
|
||||
#define N_SLIP 1
|
||||
#define N_MOUSE 2
|
||||
|
|
Loading…
Reference in New Issue