diff --git a/programs/netstat/netstat.c b/programs/netstat/netstat.c index 611249747e7..8fe59000935 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;