From 9322dd17240d32574d0cab91432d068cd58b24de Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Thu, 10 Nov 2011 13:46:19 -0800 Subject: [PATCH] Use (void) for a function taking no arguments - fix gcc -Wstrict-prototypes --- include/uv.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/uv.h b/include/uv.h index 28ef8ee3..d2a12a2d 100644 --- a/include/uv.h +++ b/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.