mirror of
https://github.com/X11Libre/xserver.git
synced 2026-11-01 03:03:58 +00:00
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:
parent
734b23e598
commit
19b3e44ce5
9 changed files with 15 additions and 15 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue