summaryrefslogtreecommitdiffstats
path: root/libmsi/update.c
diff options
context:
space:
mode:
Diffstat (limited to 'libmsi/update.c')
-rw-r--r--libmsi/update.c12
1 files changed, 3 insertions, 9 deletions
diff --git a/libmsi/update.c b/libmsi/update.c
index 47b7caf..95effb4 100644
--- a/libmsi/update.c
+++ b/libmsi/update.c
@@ -20,15 +20,9 @@
#include <stdarg.h>
-#include "windef.h"
-#include "winbase.h"
-#include "winerror.h"
#include "debug.h"
#include "libmsi.h"
-#include "objbase.h"
-#include "objidl.h"
#include "msipriv.h"
-#include "winnls.h"
#include "query.h"
@@ -152,8 +146,8 @@ static unsigned update_view_get_dimensions( LibmsiView *view, unsigned *rows, un
return wv->ops->get_dimensions( wv, rows, cols );
}
-static unsigned update_view_get_column_info( LibmsiView *view, unsigned n, const WCHAR **name,
- unsigned *type, bool *temporary, const WCHAR **table_name )
+static unsigned update_view_get_column_info( LibmsiView *view, unsigned n, const char **name,
+ unsigned *type, bool *temporary, const char **table_name )
{
LibmsiUpdateView *uv = (LibmsiUpdateView*)view;
LibmsiView *wv;
@@ -212,7 +206,7 @@ static const LibmsiViewOps update_ops =
NULL,
};
-unsigned update_view_create( LibmsiDatabase *db, LibmsiView **view, WCHAR *table,
+unsigned update_view_create( LibmsiDatabase *db, LibmsiView **view, char *table,
column_info *columns, struct expr *expr )
{
LibmsiUpdateView *uv = NULL;