xinput: Global variable compatibility update for gcc 10.

Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
(cherry picked from commit 44e69405ad)
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
stable
Michael Cronenworth 2020-01-23 17:05:30 -06:00 committed by Michael Stefaniuc
parent 5f11f35ad0
commit d42cb277d0
1 changed files with 2 additions and 2 deletions

View File

@ -26,8 +26,8 @@ typedef struct _xinput_controller
XINPUT_VIBRATION vibration;
} xinput_controller;
CRITICAL_SECTION xinput_crit;
xinput_controller controllers[XUSER_MAX_COUNT];
extern CRITICAL_SECTION xinput_crit;
extern xinput_controller controllers[XUSER_MAX_COUNT];
void HID_find_gamepads(xinput_controller *devices) DECLSPEC_HIDDEN;
void HID_destroy_gamepads(xinput_controller *devices) DECLSPEC_HIDDEN;