msi/tests: Make the handler_xxx() functions static.

Francois Gouget fgouget at free.fr
Sun Nov 8 03:52:58 CST 2009


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)
 {
-- 
1.6.3.3



More information about the wine-patches mailing list