From: Cheng Zhao Date: Fri, 31 Jan 2014 13:10:51 +0000 (+0800) Subject: No need to add "static" for functions in anonymouse namespace. X-Git-Tag: v0.9.5~1^2~9 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=73ec7783afee4099322a522c8e1c7156f0bd7da8;p=electron.git No need to add "static" for functions in anonymouse namespace. --- diff --git a/browser/auto_updater_mac.mm b/browser/auto_updater_mac.mm index 9b69a0a1..87fc6841 100644 --- a/browser/auto_updater_mac.mm +++ b/browser/auto_updater_mac.mm @@ -18,9 +18,9 @@ namespace auto_updater { namespace { // The gloal SQRLUpdater object. -static SQRLUpdater* g_updater = nil; +SQRLUpdater* g_updater = nil; -static void RelaunchToInstallUpdate() { +void RelaunchToInstallUpdate() { [[g_updater relaunchToInstallUpdate] subscribeError:^(NSError* error) { AutoUpdaterDelegate* delegate = AutoUpdater::GetDelegate(); if (delegate)