From 7b1cf6dd5fbe0c22c5e638fce8caf7f0f5c1abbf Mon Sep 17 00:00:00 2001 From: Abseil Team Date: Tue, 1 Sep 2020 16:22:52 -0400 Subject: [PATCH] Googletest export gtest.cc: make ColoredPrintf static the prototype was removed from gtest.h in cl/301446904; quiets a -Wmissing-declarations warning PiperOrigin-RevId: 329569020 --- googletest/src/gtest.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);