Commit 1cdf5cdd authored by Dmitry Timoshkov's avatar Dmitry Timoshkov Committed by Alexandre Julliard

msi: Make some data const and static.

parent 0bde8135
......@@ -240,7 +240,7 @@ struct _actions {
STANDARDACTIONHANDLER handler;
};
static struct _actions StandardActions[];
static const struct _actions StandardActions[];
/********************************************************
......@@ -4316,7 +4316,7 @@ static UINT ACTION_UnregisterComPlus( MSIPACKAGE *package )
return msi_unimplemented_action_stub( package, "UnregisterComPlus", table );
}
static struct _actions StandardActions[] = {
static const struct _actions StandardActions[] = {
{ szAllocateRegistrySpace, ACTION_AllocateRegistrySpace },
{ szAppSearch, ACTION_AppSearch },
{ szBindImage, ACTION_BindImage },
......
......@@ -2399,7 +2399,7 @@ static BOOL str_is_number( LPCWSTR str )
return TRUE;
}
WCHAR column_keys[][80] =
static const WCHAR column_keys[][80] =
{
{'V','o','l','u','m','e','C','o','s','t','V','o','l','u','m','e',0},
{'V','o','l','u','m','e','C','o','s','t','S','i','z','e',0},
......
......@@ -137,7 +137,7 @@ static LPWSTR load_ttfname_from(LPCWSTR filename)
{
int nPos;
LPSTR buf;
static LPCSTR tt = " (TrueType)";
static const char tt[] = " (TrueType)";
ttRecord.uStringLength = SWAPWORD(ttRecord.uStringLength);
ttRecord.uStringOffset = SWAPWORD(ttRecord.uStringOffset);
......
......@@ -171,7 +171,7 @@ static UINT UPDATE_find_matching_rows( struct tagMSIVIEW *view, UINT col, UINT v
}
static MSIVIEWOPS update_ops =
static const MSIVIEWOPS update_ops =
{
UPDATE_fetch_int,
NULL,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment