Browse Source

Cocoa: Fix file-local function not declared static

(cherry picked from commit 062a1c22b5e346b63fe8dfc09b63f1a57991461a)
Camilla Löwy 6 years ago
parent
commit
cfd93597ec
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/cocoa_monitor.m

+ 1 - 1
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;