From 076ad850bbfa3569fdff546525d27b6ca8bd418a Mon Sep 17 00:00:00 2001 From: Ayan George Date: Tue, 4 Aug 2020 20:24:35 -0400 Subject: [PATCH] Declare _glfwPlatformInitJoysticks() to return bool This patch declares _glfwPlatformInitJoysticks() to return bool which matches its prototype in glfw/internal.h. --- glfw/null_joystick.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/glfw/null_joystick.c b/glfw/null_joystick.c index f3d8528f6..ff525c501 100644 --- a/glfw/null_joystick.c +++ b/glfw/null_joystick.c @@ -33,7 +33,7 @@ ////// GLFW platform API ////// ////////////////////////////////////////////////////////////////////////// -int _glfwPlatformInitJoysticks(void) +bool _glfwPlatformInitJoysticks(void) { return true; }