diff --git a/googletest/src/gtest.cc b/googletest/src/gtest.cc index 2b14f6a6..7bb6c768 100644 --- a/googletest/src/gtest.cc +++ b/googletest/src/gtest.cc @@ -3282,7 +3282,7 @@ bool ShouldUseColor(bool stdout_is_tty) { // This routine must actually emit the characters rather than return a string // that would be colored when printed, as can be done on Linux. -void ColoredPrintf(GTestColor color, const char* fmt, ...) { +static void ColoredPrintf(GTestColor color, const char* fmt, ...) { va_list args; va_start(args, fmt);