diff --git a/Source/Core/Core/HW/WiimoteReal/WiimoteReal.cpp b/Source/Core/Core/HW/WiimoteReal/WiimoteReal.cpp index 595bc5922c4e..5272d6eba911 100644 --- a/Source/Core/Core/HW/WiimoteReal/WiimoteReal.cpp +++ b/Source/Core/Core/HW/WiimoteReal/WiimoteReal.cpp @@ -69,9 +69,9 @@ struct WiimotePoolEntry // Connected wii remotes are placed here when no open slot is set to "Real". // They are then automatically disconnected after some time. -std::vector g_wiimote_pool; +static std::vector g_wiimote_pool; -WiimoteScanner g_wiimote_scanner; +static WiimoteScanner g_wiimote_scanner; // Attempt to fill a real wiimote slot from the pool or by stealing from ControllerInterface. static void TryToFillWiimoteSlot(u32 index) diff --git a/Source/Core/Core/HW/WiimoteReal/WiimoteReal.h b/Source/Core/Core/HW/WiimoteReal/WiimoteReal.h index 5b20694ca2be..14aa2b9c4d04 100644 --- a/Source/Core/Core/HW/WiimoteReal/WiimoteReal.h +++ b/Source/Core/Core/HW/WiimoteReal/WiimoteReal.h @@ -195,7 +195,6 @@ class WiimoteScanner // Mutex is recursive as ControllerInterface may call AddWiimoteToPool within ProcessWiimotePool. extern std::recursive_mutex g_wiimotes_mutex; -extern WiimoteScanner g_wiimote_scanner; extern std::unique_ptr g_wiimotes[MAX_BBMOTES]; void AddWiimoteToPool(std::unique_ptr);