From cfd93597ecda7d7e7fceb27926604f454ac5a9f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Camilla=20L=C3=B6wy?= Date: Tue, 16 Jul 2019 23:12:20 +0200 Subject: [PATCH] Cocoa: Fix file-local function not declared static (cherry picked from commit 062a1c22b5e346b63fe8dfc09b63f1a57991461a) --- src/cocoa_monitor.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cocoa_monitor.m b/src/cocoa_monitor.m index 11ddf17d..112f23b0 100644 --- a/src/cocoa_monitor.m +++ b/src/cocoa_monitor.m @@ -215,7 +215,7 @@ static void endFadeReservation(CGDisplayFadeReservationToken token) // Finds and caches the NSScreen corresponding to the specified monitor // -GLFWbool refreshMonitorScreen(_GLFWmonitor* monitor) +static GLFWbool refreshMonitorScreen(_GLFWmonitor* monitor) { if (monitor->ns.screen) return GLFW_TRUE;