msi: Make all the ops structures static and const.

This commit is contained in:
Alexandre Julliard 2006-06-10 12:02:39 +02:00
parent ba5efc6c76
commit 9a59ee76e4
9 changed files with 9 additions and 9 deletions

View File

@ -207,7 +207,7 @@ static UINT CREATE_delete( struct tagMSIVIEW *view )
}
MSIVIEWOPS create_ops =
static const MSIVIEWOPS create_ops =
{
CREATE_fetch_int,
NULL,

View File

@ -191,7 +191,7 @@ static UINT DELETE_find_matching_rows( struct tagMSIVIEW *view, UINT col,
}
MSIVIEWOPS delete_ops =
static const MSIVIEWOPS delete_ops =
{
DELETE_fetch_int,
DELETE_fetch_stream,

View File

@ -268,7 +268,7 @@ static UINT DISTINCT_find_matching_rows( struct tagMSIVIEW *view, UINT col,
}
MSIVIEWOPS distinct_ops =
static const MSIVIEWOPS distinct_ops =
{
DISTINCT_fetch_int,
NULL,

View File

@ -223,7 +223,7 @@ static UINT INSERT_find_matching_rows( struct tagMSIVIEW *view, UINT col,
}
MSIVIEWOPS insert_ops =
static const MSIVIEWOPS insert_ops =
{
INSERT_fetch_int,
NULL,

View File

@ -189,7 +189,7 @@ typedef struct tagMSIVIEWOPS
struct tagMSIVIEW
{
MSIOBJECTHDR hdr;
MSIVIEWOPS *ops;
const MSIVIEWOPS *ops;
};
struct msi_dialog_tag;

View File

@ -268,7 +268,7 @@ static UINT ORDER_find_matching_rows( struct tagMSIVIEW *view, UINT col,
}
MSIVIEWOPS order_ops =
static const MSIVIEWOPS order_ops =
{
ORDER_fetch_int,
NULL,

View File

@ -215,7 +215,7 @@ static UINT SELECT_find_matching_rows( struct tagMSIVIEW *view, UINT col,
}
MSIVIEWOPS select_ops =
static const MSIVIEWOPS select_ops =
{
SELECT_fetch_int,
SELECT_fetch_stream,

View File

@ -1494,7 +1494,7 @@ static UINT TABLE_find_matching_rows( struct tagMSIVIEW *view, UINT col,
}
MSIVIEWOPS table_ops =
static const MSIVIEWOPS table_ops =
{
TABLE_fetch_int,
TABLE_fetch_stream,

View File

@ -408,7 +408,7 @@ static UINT WHERE_find_matching_rows( struct tagMSIVIEW *view, UINT col,
}
MSIVIEWOPS where_ops =
static const MSIVIEWOPS where_ops =
{
WHERE_fetch_int,
WHERE_fetch_stream,