Avoid implicit int type
This commit is contained in:
parent
89bbb64145
commit
93842aa798
|
@ -668,7 +668,7 @@ ws_ctx_t *do_handshake(int sock) {
|
|||
return ws_ctx;
|
||||
}
|
||||
|
||||
void signal_handler(sig) {
|
||||
void signal_handler(int sig) {
|
||||
switch (sig) {
|
||||
case SIGHUP: break; // ignore for now
|
||||
case SIGPIPE: pipe_error = 1; break; // handle inline
|
||||
|
|
|
@ -50,7 +50,7 @@ char USAGE[] = "Usage: [options] " \
|
|||
char target_host[256];
|
||||
int target_port;
|
||||
|
||||
extern pipe_error;
|
||||
extern int pipe_error;
|
||||
extern settings_t settings;
|
||||
|
||||
void do_proxy(ws_ctx_t *ws_ctx, int target) {
|
||||
|
|
Loading…
Reference in New Issue