hurd+generic/termios: make speed_t an unsigned int

POSIX requires that speed_t is an unsigned integer type, so change the
generic speed_t definition to be an unsigned int instead of a plain
int.

Reviewed-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
This commit is contained in:
H. Peter Anvin (Intel) 2025-06-11 18:35:39 -07:00 committed by Adhemerval Zanella
parent de730d3d2d
commit bbbaf50b2a
1 changed files with 1 additions and 1 deletions

View File

@ -105,7 +105,7 @@ typedef unsigned int tcflag_t;
typedef unsigned char cc_t;
/* Type of baud rate specifiers. */
typedef int speed_t;
typedef unsigned int speed_t;
/* Terminal control structure. */
struct termios