Browse files

Use (void) for a function taking no arguments - fix gcc -Wstrict-prot…

  • Loading branch information...
1 parent 224584c commit 9322dd17240d32574d0cab91432d068cd58b24de @jedisct1 jedisct1 committed with bnoordhuis Nov 10, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 include/uv.h
@@ -730,7 +730,7 @@ UV_EXTERN int uv_tty_set_mode(uv_tty_t*, int mode);
* To be called when the program exits. Resets TTY settings to default
* values for the next process to take over.
-UV_EXTERN void uv_tty_reset_mode();
+UV_EXTERN void uv_tty_reset_mode(void);
* Gets the current Window size. On success zero is returned.

0 comments on commit 9322dd1

Please sign in to comment.