xinput: Global variable compatibility update for gcc 10.

Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Michael Cronenworth 2020-01-23 17:05:30 -06:00 committed by Alexandre Julliard
parent da21c30516
commit 44e69405ad
1 changed files with 2 additions and 2 deletions

View File

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