Commit 9a59ee76 authored by Alexandre Julliard's avatar Alexandre Julliard

msi: Make all the ops structures static and const.

parent ba5efc6c
......@@ -207,7 +207,7 @@ static UINT CREATE_delete( struct tagMSIVIEW *view )
}
MSIVIEWOPS create_ops =
static const MSIVIEWOPS create_ops =
{
CREATE_fetch_int,
NULL,
......
......@@ -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,
......
......@@ -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,
......
......@@ -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,
......
......@@ -189,7 +189,7 @@ typedef struct tagMSIVIEWOPS
struct tagMSIVIEW
{
MSIOBJECTHDR hdr;
MSIVIEWOPS *ops;
const MSIVIEWOPS *ops;
};
struct msi_dialog_tag;
......
......@@ -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,
......
......@@ -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,
......
......@@ -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,
......
......@@ -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,
......
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