Corrected declarations of diag_immediate_msg etc.

This commit is contained in:
Gerhard Rieger 2016-12-09 22:38:30 +01:00
parent d8a5d49c2d
commit 31a2106a39
2 changed files with 8 additions and 2 deletions

View file

@ -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

View file

@ -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);