[2/6] shell32/tests: Declare childPrintf() as a printf-style function.

Francois Gouget fgouget at codeweavers.com
Thu Jan 28 17:19:39 CST 2016


Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
---
 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 682b46b..25aa5d4 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];
-- 
2.7.0.rc3




More information about the wine-patches mailing list