Use WINAPIV for variadic functions.

Should fix https://bugs.winehq.org/show_bug.cgi?id=44099
This commit is contained in:
Zebediah Figura
2018-04-16 18:27:37 -05:00
parent de87a73aac
commit 3e2b8a53bb
3 changed files with 16 additions and 16 deletions

View File

@@ -1,4 +1,4 @@
From 1cb4681d22018a93485336d10b73b3a6a05a34a0 Mon Sep 17 00:00:00 2001
From e78ec7f2036c1bdf46d4ecc7db1574847ca7f54f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Michael=20M=C3=BCller?= <michael@fds-team.de>
Date: Fri, 1 Apr 2016 01:29:51 +0200
Subject: [PATCH] fsutil: Add fsutil program with support for creating hard
@@ -67,7 +67,7 @@ index 0000000..593f817
+ STRING_HARDLINK_CREATE_USAGE, "Syntax: fsutil hardlink create old new\n\n"
+}
diff --git a/programs/fsutil/main.c b/programs/fsutil/main.c
index 2bce87e..41370b5 100644
index 2bce87e..5084196 100644
--- a/programs/fsutil/main.c
+++ b/programs/fsutil/main.c
@@ -1,5 +1,6 @@
@@ -129,7 +129,7 @@ index 2bce87e..41370b5 100644
+ return 0;
+}
+
+static int __cdecl output_string(int msg, ...)
+static int WINAPIV output_string(int msg, ...)
+{
+ WCHAR fmt[8192];
+ __ms_va_list arguments;