[PATCH 04/12] Cygwin/X: Place prototypes for winCheckKeyPressed() and winFixShiftKeys() in a .h file

Jon TURNEY jon.turney at dronecode.org.uk
Wed Feb 4 05:11:26 PST 2009


Fixes warnings as they are now in scope at the definition

Signed-off-by: Jon TURNEY <jon.turney at dronecode.org.uk>
---
 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 999c719..32d3b02 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 a942fb3..d72a5f1 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
  */
-- 
1.6.0.4




More information about the xorg mailing list