termios: Remove Linux _IOT_termios

It is used only on hurd.

No semantic change is expected, checked on a build against x86_64-linux-gnu,
alpha-linux-gnu, mips64-linux-gnu, and sparc64-linux-gnu.

	* sysdeps/unix/sysv/linux/bits/termios.h (_IOT_termios): Remove.
	* sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
	* sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
This commit is contained in:
Adhemerval Zanella 2018-10-09 17:28:27 -03:00
parent 3aa4a07ec1
commit f69c5cb2a5
4 changed files with 4 additions and 9 deletions

View File

@ -1,5 +1,9 @@
2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
* sysdeps/unix/sysv/linux/bits/termios.h (_IOT_termios): Remove.
* sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
* sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
* sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
termios-tcflow.h.
* sysdeps/unix/sysv/linux/bits/termios-tcflow.h: New file.

View File

@ -67,6 +67,3 @@ typedef unsigned int tcflag_t;
#define TCIOFLUSH 2
#include <bits/termios-tcflow.h>
#define _IOT_termios /* Hurd ioctl type field. */ \
_IOT (_IOTS (cflag_t), 4, _IOTS (cc_t), NCCS, _IOTS (speed_t), 2)

View File

@ -72,6 +72,3 @@ typedef unsigned int tcflag_t;
#define TCIOFLUSH 2
#include <bits/termios-tcflow.h>
#define _IOT_termios /* Hurd ioctl type field. */ \
_IOT (_IOTS (cflag_t), 4, _IOTS (cc_t), NCCS, _IOTS (speed_t), 2)

View File

@ -72,6 +72,3 @@ typedef unsigned int tcflag_t;
#define TCIOFLUSH 2 /* Discard all pending data. */
#include <bits/termios-tcflow.h>
#define _IOT_termios /* Hurd ioctl type field. */ \
_IOT (_IOTS (cflag_t), 4, _IOTS (cc_t), NCCS, _IOTS (speed_t), 2)