Module: wine Branch: master Commit: 83d6249c412aaaa89723ff7a5ce12fab9a3317ad URL: http://source.winehq.org/git/wine.git/?a=commit;h=83d6249c412aaaa89723ff7a5c...
Author: Alexandre Julliard julliard@winehq.org Date: Thu Nov 2 10:21:15 2017 +0100
netstat: Use WINAPIV calling convention for variadic functions.
Signed-off-by: Alexandre Julliard julliard@winehq.org
---
programs/netstat/netstat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/programs/netstat/netstat.c b/programs/netstat/netstat.c index 6112497..8fe5900 100644 --- a/programs/netstat/netstat.c +++ b/programs/netstat/netstat.c @@ -70,7 +70,7 @@ static const WCHAR tcpstatesW[][16] = { * and hence required WriteConsoleW to output it, however if file i/o is * redirected, it needs to be WriteFile'd using OEM (not ANSI) format * ========================================================================= */ -static int __cdecl NETSTAT_wprintf(const WCHAR *format, ...) +static int WINAPIV NETSTAT_wprintf(const WCHAR *format, ...) { static WCHAR *output_bufW = NULL; static char *output_bufA = NULL;