Francois Gouget : shell32/tests: Declare childPrintf() as a printf-style function.

Alexandre Julliard julliard at wine.codeweavers.com
Fri Jan 29 09:10:08 CST 2016


Module: wine
Branch: master
Commit: 3a9b09aa7d2ea75bf37dca92347a4d4d2ba369ec
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=3a9b09aa7d2ea75bf37dca92347a4d4d2ba369ec

Author: Francois Gouget <fgouget at codeweavers.com>
Date:   Fri Jan 29 00:19:39 2016 +0100

shell32/tests: Declare childPrintf() as a printf-style function.

Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/shell32/tests/shlexec.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/shell32/tests/shlexec.c b/dlls/shell32/tests/shlexec.c
index 0b687d0..a950cde 100644
--- a/dlls/shell32/tests/shlexec.c
+++ b/dlls/shell32/tests/shlexec.c
@@ -117,7 +117,7 @@ static char* decodeA(const char* str)
     return ptr;
 }
 
-static void     childPrintf(HANDLE h, const char* fmt, ...)
+static void WINETEST_PRINTF_ATTR(2,3) childPrintf(HANDLE h, const char* fmt, ...)
 {
     va_list     valist;
     char        buffer[1024];




More information about the wine-cvs mailing list