unix, windows: ANSI-fy uv_tty_reset_mode() prototype
This commit is contained in:
parent
edd10071eb
commit
5b63285805
@ -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);
|
||||
}
|
||||
|
||||
@ -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. */
|
||||
;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user