msi: Make parse_platform() static.
Signed-off-by: Francois Gouget <fgouget@free.fr> Signed-off-by: Hans Leidekker <hans@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
e48b8a4fd1
commit
a8e401839e
|
@ -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 INT msi_suminfo_get_int32( MSISUMMARYINFO *si, UINT uiProperty ) DECLSPEC_HIDDEN;
|
||||||
extern LPWSTR msi_get_suminfo_product( IStorage *stg ) 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 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;
|
extern UINT msi_load_suminfo_properties( MSIPACKAGE *package ) DECLSPEC_HIDDEN;
|
||||||
|
|
||||||
/* undocumented functions */
|
/* undocumented functions */
|
||||||
|
|
|
@ -1195,7 +1195,7 @@ UINT msi_create_empty_local_file( LPWSTR path, LPCWSTR suffix )
|
||||||
return ERROR_SUCCESS;
|
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;
|
if (!str[0] || !strcmpW( str, szIntel )) return PLATFORM_INTEL;
|
||||||
else if (!strcmpW( str, szIntel64 )) return PLATFORM_INTEL64;
|
else if (!strcmpW( str, szIntel64 )) return PLATFORM_INTEL64;
|
||||||
|
|
Loading…
Reference in New Issue