This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[PATCH v2 10/12] termios: Remove Linux _IOT_termios
- From: Adhemerval Zanella <adhemerval dot zanella at linaro dot org>
- To: libc-alpha at sourceware dot org
- Date: Thu, 27 Dec 2018 23:09:59 -0200
- Subject: [PATCH v2 10/12] termios: Remove Linux _IOT_termios
- References: <20181228011001.22260-1-adhemerval.zanella@linaro.org>
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.
---
sysdeps/unix/sysv/linux/alpha/bits/termios.h | 3 ---
sysdeps/unix/sysv/linux/bits/termios.h | 3 ---
sysdeps/unix/sysv/linux/mips/bits/termios.h | 3 ---
3 files changed, 9 deletions(-)
diff --git a/sysdeps/unix/sysv/linux/alpha/bits/termios.h b/sysdeps/unix/sysv/linux/alpha/bits/termios.h
index 66b84f26c7..1824b3d8e7 100644
--- a/sysdeps/unix/sysv/linux/alpha/bits/termios.h
+++ b/sysdeps/unix/sysv/linux/alpha/bits/termios.h
@@ -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)
diff --git a/sysdeps/unix/sysv/linux/bits/termios.h b/sysdeps/unix/sysv/linux/bits/termios.h
index b0263dfa71..1d47729945 100644
--- a/sysdeps/unix/sysv/linux/bits/termios.h
+++ b/sysdeps/unix/sysv/linux/bits/termios.h
@@ -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)
diff --git a/sysdeps/unix/sysv/linux/mips/bits/termios.h b/sysdeps/unix/sysv/linux/mips/bits/termios.h
index ca4f106855..3b015432c0 100644
--- a/sysdeps/unix/sysv/linux/mips/bits/termios.h
+++ b/sysdeps/unix/sysv/linux/mips/bits/termios.h
@@ -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)
--
2.17.1