From ab2c98b86f1c3968581dfdad8b67432082feec78 Mon Sep 17 00:00:00 2001 From: Jon TURNEY Date: Mon, 19 Jan 2009 17:36:58 +0000 Subject: [PATCH] Cygwin/X: Place prototypes for winCheckKeyPressed() and winFixShiftKeys() in a header file Fixes warnings as they are now in scope at the definition Signed-off-by: Jon TURNEY --- hw/xwin/win.h | 5 +++++ hw/xwin/winwndproc.c | 4 ---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/hw/xwin/win.h b/hw/xwin/win.h index 999c7194e..32d3b0287 100644 --- a/hw/xwin/win.h +++ b/hw/xwin/win.h @@ -957,6 +957,11 @@ winKeybdReleaseKeys (void); void winSendKeyEvent (DWORD dwKey, Bool fDown); +BOOL +winCheckKeyPressed(WPARAM wParam, LPARAM lParam); + +void +winFixShiftKeys (int iScanCode); /* * winkeyhook.c diff --git a/hw/xwin/winwndproc.c b/hw/xwin/winwndproc.c index a942fb3cd..d72a5f135 100644 --- a/hw/xwin/winwndproc.c +++ b/hw/xwin/winwndproc.c @@ -42,10 +42,6 @@ #include "winmsg.h" #include "inputstr.h" -extern BOOL winCheckKeyPressed(WPARAM wParam, LPARAM lParam); -extern void winFixShiftKeys (int iScanCode); - - /* * Global variables */