Cygwin/X: Make g_hmodCommonControls static
Make g_hmodCommonControls static, it's only used in InitOutput.c Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk> Reviewed-by: Colin Harrison <colin.harrison@virgin.net>
This commit is contained in:
parent
49b996faad
commit
5e896e425f
|
@ -90,12 +90,17 @@ extern HWND g_hwndClipboard;
|
|||
extern Bool g_fClipboard;
|
||||
#endif
|
||||
|
||||
extern HMODULE g_hmodCommonControls;
|
||||
|
||||
extern FARPROC g_fpTrackMouseEvent;
|
||||
extern Bool g_fNoHelpMessageBox;
|
||||
extern Bool g_fSilentDupError;
|
||||
extern Bool g_fNativeGl;
|
||||
|
||||
/*
|
||||
module handle for dynamically loaded comctl32 library
|
||||
*/
|
||||
static HMODULE g_hmodCommonControls = NULL;
|
||||
|
||||
/*
|
||||
* Function prototypes
|
||||
*/
|
||||
|
|
|
@ -656,7 +656,6 @@ extern DeviceIntPtr g_pwinKeyboard;
|
|||
extern FARPROC g_fpDirectDrawCreate;
|
||||
extern FARPROC g_fpDirectDrawCreateClipper;
|
||||
|
||||
extern HMODULE g_hmodCommonControls;
|
||||
extern FARPROC g_fpTrackMouseEvent;
|
||||
|
||||
|
||||
|
|
|
@ -83,8 +83,6 @@ Bool g_fNativeGl = FALSE;
|
|||
* Global variables for dynamically loaded libraries and
|
||||
* their function pointers
|
||||
*/
|
||||
|
||||
HMODULE g_hmodCommonControls = NULL;
|
||||
FARPROC g_fpTrackMouseEvent = (FARPROC) (void (*)(void))NoopDDA;
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user