From 5fef4726a7d658d946af06c1e14721d6429806bf Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sat, 20 Jul 2019 19:12:21 +0530 Subject: [PATCH] Cocoa: Fix file-local function not declared static From upstream: https://github.com/glfw/glfw/commit/062a1c22b5e346b63fe8dfc09b63f1a57991461a --- glfw/cocoa_monitor.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/glfw/cocoa_monitor.m b/glfw/cocoa_monitor.m index 61ea7b363..072eb9f41 100644 --- a/glfw/cocoa_monitor.m +++ b/glfw/cocoa_monitor.m @@ -215,7 +215,7 @@ static void endFadeReservation(CGDisplayFadeReservationToken token) // Finds and caches the NSScreen corresponding to the specified monitor // -bool refreshMonitorScreen(_GLFWmonitor* monitor) +static bool refreshMonitorScreen(_GLFWmonitor* monitor) { if (monitor->ns.screen) return true;