diff --git a/src/cocoa_joystick.m b/src/cocoa_joystick.m index bf6e66bb..3100e210 100644 --- a/src/cocoa_joystick.m +++ b/src/cocoa_joystick.m @@ -83,7 +83,7 @@ typedef struct } _glfwJoystick; -_glfwJoystick _glfwJoysticks[GLFW_JOYSTICK_LAST + 1]; +static _glfwJoystick _glfwJoysticks[GLFW_JOYSTICK_LAST + 1]; void GetElementsCFArrayHandler(const void* value, void* parameter);