mirror of git://sourceware.org/git/glibc.git
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:
parent
de730d3d2d
commit
bbbaf50b2a
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue