浏览代码

Cocoa: Fix file-local function not declared static

(cherry picked from commit 062a1c22b5e346b63fe8dfc09b63f1a57991461a)
Camilla Löwy 6 年之前
父节点
当前提交
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;