diff options
author | Sergey Bugaev <bugaevc@gmail.com> | 2023-02-12 19:08:57 +0300 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2023-02-12 20:03:18 +0100 |
commit | 3e35b824a4dc0f6b67a7edaf4962e7492aed9d4f (patch) | |
tree | a1285b79065ad44fed140b11383500e7c8483e04 | |
parent | 23e2c3b25f67ae3f656d476d8bd27a6f4b44d9e4 (diff) | |
download | glibc-3e35b824a4dc0f6b67a7edaf4962e7492aed9d4f.tar glibc-3e35b824a4dc0f6b67a7edaf4962e7492aed9d4f.tar.gz glibc-3e35b824a4dc0f6b67a7edaf4962e7492aed9d4f.tar.bz2 glibc-3e35b824a4dc0f6b67a7edaf4962e7492aed9d4f.zip |
hurd: Fix tcflag_t and speed_t types on 64-bit
These are supposed to stay 32-bit even on 64-bit systems. This matches
BSD and Linux, as well as how these types are already defined in
tioctl.defs
Signed-off-by: Sergey Bugaev <bugaevc@gmail.com>
-rw-r--r-- | bits/termios.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bits/termios.h b/bits/termios.h index 4439c2f14e..6a883cebba 100644 --- a/bits/termios.h +++ b/bits/termios.h @@ -99,13 +99,13 @@ `tcflag_t', `cc_t', `speed_t' and the `TC*' constants appropriately. */ /* Type of terminal control flag masks. */ -typedef unsigned long int tcflag_t; +typedef unsigned int tcflag_t; /* Type of control characters. */ typedef unsigned char cc_t; /* Type of baud rate specifiers. */ -typedef long int speed_t; +typedef int speed_t; /* Terminal control structure. */ struct termios |