| Index: src/log-utils.h
|
| diff --git a/src/log-utils.h b/src/log-utils.h
|
| index 3e70a96c8f1b97ac01cd57085a06a884b32e768e..059e5a53c5cab58a811acc01cf90c76eded501e1 100644
|
| --- a/src/log-utils.h
|
| +++ b/src/log-utils.h
|
| @@ -10,6 +10,7 @@
|
| #include <cstdarg>
|
|
|
| #include "src/allocation.h"
|
| +#include "src/base/compiler-specific.h"
|
| #include "src/base/platform/mutex.h"
|
| #include "src/flags.h"
|
|
|
| @@ -62,10 +63,10 @@ class Log {
|
| ~MessageBuilder() { }
|
|
|
| // Append string data to the log message.
|
| - void Append(const char* format, ...);
|
| + void PRINTF_FORMAT(2, 3) Append(const char* format, ...);
|
|
|
| // Append string data to the log message.
|
| - void AppendVA(const char* format, va_list args);
|
| + void PRINTF_FORMAT(2, 0) AppendVA(const char* format, va_list args);
|
|
|
| // Append a character to the log message.
|
| void Append(const char c);
|
|
|