Explorar el Código

Cocoa: Fix file-local function not declared static

(cherry picked from commit 062a1c22b5e346b63fe8dfc09b63f1a57991461a)
Camilla Löwy hace 6 años
padre
commit
cfd93597ec
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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;