msi: Declare some functions static

Andrew Talbot Andrew.Talbot at talbotville.com
Fri Jan 12 10:47:57 CST 2007


Changelog:
    msi: Declare some functions static.

diff -urN a/dlls/msi/action.c b/dlls/msi/action.c
--- a/dlls/msi/action.c	2006-12-05 17:37:12.000000000 +0000
+++ b/dlls/msi/action.c	2007-01-12 16:42:37.000000000 +0000
@@ -1931,7 +1931,7 @@
     return ERROR_SUCCESS;
 }
 
-LPWSTR msi_get_disk_file_version( LPCWSTR filename )
+static LPWSTR msi_get_disk_file_version( LPCWSTR filename )
 {
     static const WCHAR name_fmt[] =
         {'%','u','.','%','u','.','%','u','.','%','u',0};
@@ -3869,7 +3869,7 @@
     return ERROR_INSTALL_SUSPEND;
 }
 
-UINT msi_set_sourcedir_props(MSIPACKAGE *package)
+static UINT msi_set_sourcedir_props(MSIPACKAGE *package)
 {
     LPWSTR p, source;
     DWORD len;
diff -urN a/dlls/msi/events.c b/dlls/msi/events.c
--- a/dlls/msi/events.c	2006-12-18 17:46:16.000000000 +0000
+++ b/dlls/msi/events.c	2007-01-12 16:37:39.000000000 +0000
@@ -53,7 +53,7 @@
     LPWSTR attribute;
 };
 
-UINT ControlEvent_HandleControlEvent(MSIPACKAGE *, LPCWSTR, LPCWSTR, msi_dialog*);
+static UINT ControlEvent_HandleControlEvent(MSIPACKAGE *, LPCWSTR, LPCWSTR, msi_dialog*);
 static VOID ControlEvent_CleanupDialogSubscriptions(MSIPACKAGE *package, LPWSTR dialog);
 
 /*



More information about the wine-patches mailing list