Cygwin/X: Fix -Wold-style-definition warnings

Fix old-style definition warnings caused by definitions with empty
parameter lists "()", which should be "(void)" to indicate the function
takes no parameters, rather than unspecified parameters

Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
This commit is contained in:
Jon TURNEY 2009-01-19 17:03:23 +00:00
commit 19b3e44ce5
9 changed files with 15 additions and 15 deletions

View file

@ -149,7 +149,7 @@ winKeyboardMessageHookLL (int iCode, WPARAM wParam, LPARAM lParam)
*/
Bool
winInstallKeyboardHookLL ()
winInstallKeyboardHookLL (void)
{
OSVERSIONINFO osvi = {0};
@ -186,7 +186,7 @@ winInstallKeyboardHookLL ()
*/
void
winRemoveKeyboardHookLL ()
winRemoveKeyboardHookLL (void)
{
if (g_hhookKeyboardLL)
UnhookWindowsHookEx (g_hhookKeyboardLL);