2
0
Эх сурвалжийг харах

Cocoa: Fix file-local function not declared static

(cherry picked from commit 062a1c22b5e346b63fe8dfc09b63f1a57991461a)
Camilla Löwy 6 жил өмнө
parent
commit
cfd93597ec
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  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;