summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon TURNEY <jon.turney@dronecode.org.uk>2009-01-19 17:36:58 +0000
committerJon TURNEY <jon.turney@dronecode.org.uk>2009-02-12 12:05:13 +0000
commitab2c98b86f1c3968581dfdad8b67432082feec78 (patch)
tree0a2ba9bcfcbb5f70d75e329f9b88497aded57059
parentcc7a4c7c6e051fceacb32997740d83fc0655414e (diff)
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 <jon.turney@dronecode.org.uk>
-rw-r--r--hw/xwin/win.h5
-rw-r--r--hw/xwin/winwndproc.c4
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
*/