Francois Gouget : msi/tests: Make the handler_xxx() functions static.
Alexandre Julliard
julliard at winehq.org
Mon Nov 9 15:14:14 CST 2009
Module: wine
Branch: master
Commit: 97619affe5592ddbc2d96e92e02042cc46d8a45c
URL: http://source.winehq.org/git/wine.git/?a=commit;h=97619affe5592ddbc2d96e92e02042cc46d8a45c
Author: Francois Gouget <fgouget at free.fr>
Date: Sun Nov 8 10:52:58 2009 +0100
msi/tests: Make the handler_xxx() functions static.
Also remove extraneous semi-colons.
---
dlls/msi/tests/install.c | 17 ++++++++++++++---
1 files changed, 14 insertions(+), 3 deletions(-)
diff --git a/dlls/msi/tests/install.c b/dlls/msi/tests/install.c
index ccadc63..6efd290 100644
--- a/dlls/msi/tests/install.c
+++ b/dlls/msi/tests/install.c
@@ -6874,9 +6874,20 @@ static void test_file_in_use_cab(void)
delete_test_files();
}
-INT CALLBACK handler_a(LPVOID context, UINT type, LPCSTR msg) { return IDOK; };
-INT CALLBACK handler_w(LPVOID context, UINT type, LPCWSTR msg) { return IDOK; };
-INT CALLBACK handler_record(LPVOID context, UINT type, MSIHANDLE record) { return IDOK; };
+static INT CALLBACK handler_a(LPVOID context, UINT type, LPCSTR msg)
+{
+ return IDOK;
+}
+
+static INT CALLBACK handler_w(LPVOID context, UINT type, LPCWSTR msg)
+{
+ return IDOK;
+}
+
+static INT CALLBACK handler_record(LPVOID context, UINT type, MSIHANDLE record)
+{
+ return IDOK;
+}
static void test_MsiSetExternalUI(void)
{
More information about the wine-cvs
mailing list