MSI: clean up headers and make some functions static

Mike McCormack mike at codeweavers.com
Tue May 31 10:12:13 CDT 2005


ChangeLog:
* clean up headers and make some functions static
-------------- next part --------------
Index: dlls/msi/format.c
===================================================================
RCS file: /home/wine/wine/dlls/msi/format.c,v
retrieving revision 1.15
diff -u -p -r1.15 format.c
--- dlls/msi/format.c	29 May 2005 20:08:12 -0000	1.15
+++ dlls/msi/format.c	31 May 2005 15:12:03 -0000
@@ -31,20 +31,11 @@ http://msdn.microsoft.com/library/defaul
 #include "windef.h"
 #include "winbase.h"
 #include "winerror.h"
-#include "winreg.h"
 #include "wine/debug.h"
-#include "fdi.h"
 #include "msi.h"
-#include "msiquery.h"
-#include "msvcrt/fcntl.h"
-#include "objbase.h"
-#include "objidl.h"
 #include "msipriv.h"
 #include "winnls.h"
-#include "winuser.h"
-#include "shlobj.h"
 #include "wine/unicode.h"
-#include "winver.h"
 #include "action.h"
 
 WINE_DEFAULT_DEBUG_CHANNEL(msi);
@@ -55,7 +46,7 @@ static DWORD deformat_string_internal(MS
                                      BOOL* in_group);
 
 
-LPWSTR build_default_format(MSIRECORD* record)
+static LPWSTR build_default_format(MSIRECORD* record)
 {
     int i;  
     int count;
@@ -328,7 +319,7 @@ static BOOL find_next_outermost_key(LPCW
     return TRUE;
 }
 
-LPWSTR deformat_group(MSIPACKAGE* package, LPWSTR group, DWORD len, 
+static LPWSTR deformat_group(MSIPACKAGE* package, LPWSTR group, DWORD len, 
                       MSIRECORD* record, DWORD* size)
 {
     LPWSTR value;


More information about the wine-patches mailing list