From: VMware, Inc <> Date: Tue, 19 Oct 2010 19:48:46 +0000 (-0700) Subject: lib/log: PRINTF_DECL X-Git-Tag: 2010.10.18-313025~20 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d93f55cab1a77752334846ee371ad0cafae9fcd9;p=thirdparty%2Fopen-vm-tools.git lib/log: PRINTF_DECL Signed-off-by: Marcelo Vanzin --- diff --git a/open-vm-tools/lib/include/log.h b/open-vm-tools/lib/include/log.h index 143a76656..82d2cca5a 100644 --- a/open-vm-tools/lib/include/log.h +++ b/open-vm-tools/lib/include/log.h @@ -67,7 +67,7 @@ void LogV(int level, * TODO: even Log and Warning become wrapper functions around LogV. */ -static INLINE void +static INLINE void PRINTF_DECL(2, 3) Log_Level(int level, const char *fmt, ...) @@ -88,7 +88,7 @@ Log_String(int level, } -static INLINE void +static INLINE void PRINTF_DECL(1, 2) Log_Panic(const char *fmt, ...) { @@ -100,7 +100,7 @@ Log_Panic(const char *fmt, } -static INLINE void +static INLINE void PRINTF_DECL(1, 2) Log_Error(const char *fmt, ...) { @@ -112,7 +112,7 @@ Log_Error(const char *fmt, } -static INLINE void +static INLINE void PRINTF_DECL(1, 2) Log_Verbose(const char *fmt, ...) { @@ -124,7 +124,7 @@ Log_Verbose(const char *fmt, } -static INLINE void +static INLINE void PRINTF_DECL(1, 2) Log_Trivia(const char *fmt, ...) {