Module: wine Branch: master Commit: 44e69405adcdc98d6b0777e6c0acb2697d776ef8 URL: https://source.winehq.org/git/wine.git/?a=commit;h=44e69405adcdc98d6b0777e6c... Author: Michael Cronenworth <mike(a)cchtml.com> Date: Thu Jan 23 17:05:30 2020 -0600 xinput: Global variable compatibility update for gcc 10. Signed-off-by: Andrew Eikum <aeikum(a)codeweavers.com> Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> --- dlls/xinput1_3/xinput_private.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/xinput1_3/xinput_private.h b/dlls/xinput1_3/xinput_private.h index 7de9a2a2e4..0de4f3b0b0 100644 --- a/dlls/xinput1_3/xinput_private.h +++ b/dlls/xinput1_3/xinput_private.h @@ -27,8 +27,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;