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>
This commit is contained in:
parent
cc7a4c7c6e
commit
ab2c98b86f
|
@ -957,6 +957,11 @@ winKeybdReleaseKeys (void);
|
||||||
void
|
void
|
||||||
winSendKeyEvent (DWORD dwKey, Bool fDown);
|
winSendKeyEvent (DWORD dwKey, Bool fDown);
|
||||||
|
|
||||||
|
BOOL
|
||||||
|
winCheckKeyPressed(WPARAM wParam, LPARAM lParam);
|
||||||
|
|
||||||
|
void
|
||||||
|
winFixShiftKeys (int iScanCode);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* winkeyhook.c
|
* winkeyhook.c
|
||||||
|
|
|
@ -42,10 +42,6 @@
|
||||||
#include "winmsg.h"
|
#include "winmsg.h"
|
||||||
#include "inputstr.h"
|
#include "inputstr.h"
|
||||||
|
|
||||||
extern BOOL winCheckKeyPressed(WPARAM wParam, LPARAM lParam);
|
|
||||||
extern void winFixShiftKeys (int iScanCode);
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Global variables
|
* Global variables
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue
Block a user