From 32f186e82d99d5a16472fd1afd7d231fb9774991 Mon Sep 17 00:00:00 2001 From: Camilla Berglund Date: Sun, 29 Jan 2012 15:51:09 +0100 Subject: [PATCH] Made joystick array static. --- src/cocoa_joystick.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);