Francois Gouget : msi: Make parse_platform() static.

Alexandre Julliard julliard at winehq.org
Mon Aug 8 11:09:29 CDT 2016


Module: wine
Branch: master
Commit: a8e401839ef1861d4d6f4ce12cee0c4cd3414380
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=a8e401839ef1861d4d6f4ce12cee0c4cd3414380

Author: Francois Gouget <fgouget at free.fr>
Date:   Tue Jul 26 16:51:56 2016 +0200

msi: Make parse_platform() static.

Signed-off-by: Francois Gouget <fgouget at free.fr>
Signed-off-by: Hans Leidekker <hans at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/msi/msipriv.h | 1 -
 dlls/msi/package.c | 2 +-
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/dlls/msi/msipriv.h b/dlls/msi/msipriv.h
index d457a54..8e7b592 100644
--- a/dlls/msi/msipriv.h
+++ b/dlls/msi/msipriv.h
@@ -954,7 +954,6 @@ extern LPWSTR msi_suminfo_dup_string( MSISUMMARYINFO *si, UINT uiProperty ) DECL
 extern INT msi_suminfo_get_int32( MSISUMMARYINFO *si, UINT uiProperty ) DECLSPEC_HIDDEN;
 extern LPWSTR msi_get_suminfo_product( IStorage *stg ) DECLSPEC_HIDDEN;
 extern UINT msi_add_suminfo( MSIDATABASE *db, LPWSTR **records, int num_records, int num_columns ) DECLSPEC_HIDDEN;
-extern enum platform parse_platform( const WCHAR *str ) DECLSPEC_HIDDEN;
 extern UINT msi_load_suminfo_properties( MSIPACKAGE *package ) DECLSPEC_HIDDEN;
 
 /* undocumented functions */
diff --git a/dlls/msi/package.c b/dlls/msi/package.c
index 01d2e89..330f80f 100644
--- a/dlls/msi/package.c
+++ b/dlls/msi/package.c
@@ -1195,7 +1195,7 @@ UINT msi_create_empty_local_file( LPWSTR path, LPCWSTR suffix )
     return ERROR_SUCCESS;
 }
 
-enum platform parse_platform( const WCHAR *str )
+static enum platform parse_platform( const WCHAR *str )
 {
     if (!str[0] || !strcmpW( str, szIntel )) return PLATFORM_INTEL;
     else if (!strcmpW( str, szIntel64 )) return PLATFORM_INTEL64;




More information about the wine-cvs mailing list