msi: Make all the ops structures static and const.
diff --git a/dlls/msi/create.c b/dlls/msi/create.c index 5097c57..a8fe65c 100644 --- a/dlls/msi/create.c +++ b/dlls/msi/create.c
@@ -207,7 +207,7 @@ } -MSIVIEWOPS create_ops = +static const MSIVIEWOPS create_ops = { CREATE_fetch_int, NULL,
diff --git a/dlls/msi/delete.c b/dlls/msi/delete.c index 04c520e..6a9d62a 100644 --- a/dlls/msi/delete.c +++ b/dlls/msi/delete.c
@@ -191,7 +191,7 @@ } -MSIVIEWOPS delete_ops = +static const MSIVIEWOPS delete_ops = { DELETE_fetch_int, DELETE_fetch_stream,
diff --git a/dlls/msi/distinct.c b/dlls/msi/distinct.c index 6a64094..a00f274 100644 --- a/dlls/msi/distinct.c +++ b/dlls/msi/distinct.c
@@ -268,7 +268,7 @@ } -MSIVIEWOPS distinct_ops = +static const MSIVIEWOPS distinct_ops = { DISTINCT_fetch_int, NULL,
diff --git a/dlls/msi/insert.c b/dlls/msi/insert.c index 7dcf81e..85c9f51 100644 --- a/dlls/msi/insert.c +++ b/dlls/msi/insert.c
@@ -223,7 +223,7 @@ } -MSIVIEWOPS insert_ops = +static const MSIVIEWOPS insert_ops = { INSERT_fetch_int, NULL,
diff --git a/dlls/msi/msipriv.h b/dlls/msi/msipriv.h index 3262ffa..bdc24c6 100644 --- a/dlls/msi/msipriv.h +++ b/dlls/msi/msipriv.h
@@ -189,7 +189,7 @@ struct tagMSIVIEW { MSIOBJECTHDR hdr; - MSIVIEWOPS *ops; + const MSIVIEWOPS *ops; }; struct msi_dialog_tag;
diff --git a/dlls/msi/order.c b/dlls/msi/order.c index 93ee3a2..82b1269 100644 --- a/dlls/msi/order.c +++ b/dlls/msi/order.c
@@ -268,7 +268,7 @@ } -MSIVIEWOPS order_ops = +static const MSIVIEWOPS order_ops = { ORDER_fetch_int, NULL,
diff --git a/dlls/msi/select.c b/dlls/msi/select.c index 2e3716e..abb2dbd 100644 --- a/dlls/msi/select.c +++ b/dlls/msi/select.c
@@ -215,7 +215,7 @@ } -MSIVIEWOPS select_ops = +static const MSIVIEWOPS select_ops = { SELECT_fetch_int, SELECT_fetch_stream,
diff --git a/dlls/msi/table.c b/dlls/msi/table.c index cf80d5d..007958e 100644 --- a/dlls/msi/table.c +++ b/dlls/msi/table.c
@@ -1494,7 +1494,7 @@ } -MSIVIEWOPS table_ops = +static const MSIVIEWOPS table_ops = { TABLE_fetch_int, TABLE_fetch_stream,
diff --git a/dlls/msi/where.c b/dlls/msi/where.c index a02b19b..8fbedce 100644 --- a/dlls/msi/where.c +++ b/dlls/msi/where.c
@@ -408,7 +408,7 @@ } -MSIVIEWOPS where_ops = +static const MSIVIEWOPS where_ops = { WHERE_fetch_int, WHERE_fetch_stream,