From 5b63285805c82af043ba72bef4455aa3a98b20e2 Mon Sep 17 00:00:00 2001 From: Ben Noordhuis Date: Sun, 6 Jan 2013 20:21:13 +0100 Subject: [PATCH] unix, windows: ANSI-fy uv_tty_reset_mode() prototype --- src/unix/tty.c | 2 +- src/win/tty.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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. */ ; }