unix, windows: ANSI-fy uv_tty_reset_mode() prototype

This commit is contained in:
Ben Noordhuis 2013-01-06 20:21:13 +01:00
parent edd10071eb
commit 5b63285805
2 changed files with 2 additions and 2 deletions

View File

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

View File

@ -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. */
;
}