mirror of
https://repo.or.cz/socat.git
synced 2024-12-22 07:22:34 +00:00
Header of xiotermios_speed() declared parameter unsigned int instead of speed_t
This commit is contained in:
parent
e1bc39a53f
commit
420835bf2a
2 changed files with 7 additions and 1 deletions
6
CHANGES
6
CHANGES
|
@ -1,4 +1,10 @@
|
|||
|
||||
Corrections:
|
||||
Header of xiotermios_speed() declared parameter unsigned int instead of
|
||||
speed_t, thus compiling failed on MacOS
|
||||
Thanks to Joe Strout and others for reporting this bug.
|
||||
Thanks to Andrew Childs and others for sending a patch.
|
||||
|
||||
####################### V 1.7.3.3:
|
||||
|
||||
Corrections:
|
||||
|
|
|
@ -148,7 +148,7 @@ extern int xiotermiosflag_applyopt(int fd, struct opt *opt);
|
|||
extern int xiotermios_value(int fd, int word, tcflag_t mask, tcflag_t value);
|
||||
extern int xiotermios_char(int fd, int n, unsigned char c);
|
||||
#ifdef HAVE_TERMIOS_ISPEED
|
||||
extern int xiotermios_speed(int fd, int n, unsigned int speed);
|
||||
extern int xiotermios_speed(int fd, int n, speed_t speed);
|
||||
#endif
|
||||
extern int xiotermios_spec(int fd, int optcode);
|
||||
extern int xiotermios_flush(int fd);
|
||||
|
|
Loading…
Reference in a new issue