Alexandre Julliard : msi: Make all the ops structures static and
const.
Alexandre Julliard
julliard at wine.codeweavers.com
Sat Jun 10 06:26:12 CDT 2006
Module: wine
Branch: refs/heads/master
Commit: 9a59ee76e464ca08e603afbaead1eca4cb95e08d
URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=9a59ee76e464ca08e603afbaead1eca4cb95e08d
Author: Alexandre Julliard <julliard at winehq.org>
Date: Sat Jun 10 12:02:39 2006 +0200
msi: Make all the ops structures static and const.
---
dlls/msi/create.c | 2 +-
dlls/msi/delete.c | 2 +-
dlls/msi/distinct.c | 2 +-
dlls/msi/insert.c | 2 +-
dlls/msi/msipriv.h | 2 +-
dlls/msi/order.c | 2 +-
dlls/msi/select.c | 2 +-
dlls/msi/table.c | 2 +-
dlls/msi/where.c | 2 +-
9 files changed, 9 insertions(+), 9 deletions(-)
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 @@ static UINT CREATE_delete( struct tagMSI
}
-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 @@ static UINT DELETE_find_matching_rows( s
}
-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 @@ static UINT DISTINCT_find_matching_rows(
}
-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 @@ static UINT INSERT_find_matching_rows( s
}
-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 @@ typedef struct tagMSIVIEWOPS
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 @@ static UINT ORDER_find_matching_rows( st
}
-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 @@ static UINT SELECT_find_matching_rows( s
}
-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 @@ static UINT TABLE_find_matching_rows( st
}
-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 @@ static UINT WHERE_find_matching_rows( st
}
-MSIVIEWOPS where_ops =
+static const MSIVIEWOPS where_ops =
{
WHERE_fetch_int,
WHERE_fetch_stream,
More information about the wine-cvs
mailing list