diff options
Diffstat (limited to 'extern/libmv/third_party/glog/src/logging.cc')
-rw-r--r-- | extern/libmv/third_party/glog/src/logging.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/extern/libmv/third_party/glog/src/logging.cc b/extern/libmv/third_party/glog/src/logging.cc index ec9eef1b83d..d700a0bf770 100644 --- a/extern/libmv/third_party/glog/src/logging.cc +++ b/extern/libmv/third_party/glog/src/logging.cc @@ -301,7 +301,7 @@ static GLogColor SeverityToColor(LogSeverity severity) { #ifdef OS_WINDOWS // Returns the character attribute for the given color. -WORD GetColorAttribute(GLogColor color) { +static WORD GetColorAttribute(GLogColor color) { switch (color) { case COLOR_RED: return FOREGROUND_RED; case COLOR_GREEN: return FOREGROUND_GREEN; @@ -313,7 +313,7 @@ WORD GetColorAttribute(GLogColor color) { #else // Returns the ANSI color code for the given color. -const char* GetAnsiColorCode(GLogColor color) { +static const char* GetAnsiColorCode(GLogColor color) { switch (color) { case COLOR_RED: return "1"; case COLOR_GREEN: return "2"; @@ -1677,7 +1677,7 @@ void LogToStderr() { namespace base { namespace internal { -bool GetExitOnDFatal() { +static bool GetExitOnDFatal() { MutexLock l(&log_mutex); return exit_on_dfatal; } @@ -1692,7 +1692,7 @@ bool GetExitOnDFatal() { // and the stack trace is not recorded. The LOG(FATAL) *will* still // exit the program. Since this function is used only in testing, // these differences are acceptable. -void SetExitOnDFatal(bool value) { +static void SetExitOnDFatal(bool value) { MutexLock l(&log_mutex); exit_on_dfatal = value; } |