mirror of
https://repo.or.cz/socat.git
synced 2024-12-22 15:32:35 +00:00
Corrected declarations of diag_immediate_msg etc.
This commit is contained in:
parent
d8a5d49c2d
commit
31a2106a39
2 changed files with 8 additions and 2 deletions
6
CHANGES
6
CHANGES
|
@ -8,6 +8,12 @@ corrections:
|
|||
Include <stddef.h> for ptrdiff_t
|
||||
Thanks to Jeroen Roovers for reporting this issue.
|
||||
|
||||
porting:
|
||||
Type conflict between int and sig_atomic_t between declaration and
|
||||
definition of diag_immediate_type and diag_immediate_exit broke
|
||||
compilation on FreeBSD 10.1 with clang. Thanks to Emanuel Haupt for
|
||||
reporting this bug.
|
||||
|
||||
testing:
|
||||
socks4echo.sh and socks4a-echo.sh hung with new bash with read -n
|
||||
|
||||
|
|
4
error.h
4
error.h
|
@ -229,8 +229,8 @@ struct diag_dgram {
|
|||
} ;
|
||||
|
||||
extern sig_atomic_t diag_in_handler;
|
||||
extern int diag_immediate_msg;
|
||||
extern int diag_immediate_exit;
|
||||
extern sig_atomic_t diag_immediate_msg;
|
||||
extern sig_atomic_t diag_immediate_exit;
|
||||
|
||||
extern void diag_set(char what, const char *arg);
|
||||
extern void diag_set_int(char what, int arg);
|
||||
|
|
Loading…
Reference in a new issue