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;