Skip to content
Browse files

unix, windows: ANSI-fy uv_tty_reset_mode() prototype

  • Loading branch information...
1 parent edd1007 commit 5b63285805c82af043ba72bef4455aa3a98b20e2 @bnoordhuis bnoordhuis committed Jan 6, 2013
Showing with 2 additions and 2 deletions.
  1. +1 −1 src/unix/tty.c
  2. +1 −1 src/win/tty.c
View
2 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);
}
View
2 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. */
;
}

0 comments on commit 5b63285

Please sign in to comment.
Something went wrong with that request. Please try again.