diff --git a/src/unix/tty.c b/src/unix/tty.c index faf94716..49efee7f 100644 --- a/src/unix/tty.c +++ b/src/unix/tty.c @@ -140,7 +140,7 @@ uv_handle_type uv_guess_handle(uv_file file) { } -void uv_tty_reset_mode() { +void uv_tty_reset_mode(void) { if (orig_termios_fd >= 0) { tcsetattr(orig_termios_fd, TCSANOW, &orig_termios); } diff --git a/src/win/tty.c b/src/win/tty.c index adb66a62..92f4604c 100644 --- a/src/win/tty.c +++ b/src/win/tty.c @@ -1865,7 +1865,7 @@ void uv_process_tty_connect_req(uv_loop_t* loop, uv_tty_t* handle, } -void uv_tty_reset_mode() { +void uv_tty_reset_mode(void) { /* Not necessary to do anything. */ ; }