Commit 175c407b authored by Mike McCormack's avatar Mike McCormack Committed by Alexandre Julliard

msi: Make msi_makestring static.

parent 891e0166
......@@ -325,7 +325,6 @@ extern BOOL msi_addstringW( string_table *st, UINT string_no, const WCHAR *data,
extern UINT msi_id2stringW( string_table *st, UINT string_no, LPWSTR buffer, UINT *sz );
extern UINT msi_id2stringA( string_table *st, UINT string_no, LPSTR buffer, UINT *sz );
extern LPWSTR MSI_makestring( MSIDATABASE *db, UINT stringid);
extern UINT msi_string2idW( string_table *st, LPCWSTR buffer, UINT *id );
extern UINT msi_string2idA( string_table *st, LPCSTR str, UINT *id );
extern string_table *msi_init_stringtable( int entries, UINT codepage );
......
......@@ -917,7 +917,7 @@ static void msi_free_colinfo( MSICOLUMNINFO *colinfo, UINT count )
}
}
LPWSTR MSI_makestring( MSIDATABASE *db, UINT stringid)
static LPWSTR msi_makestring( MSIDATABASE *db, UINT stringid)
{
return strdupW(msi_string_lookup_id( db->strings, stringid ));
}
......@@ -958,9 +958,9 @@ static UINT get_tablecolumns( MSIDATABASE *db,
if( colinfo )
{
UINT id = table->data[ i ] [ 2 ];
colinfo[n].tablename = MSI_makestring( db, table_id );
colinfo[n].tablename = msi_makestring( db, table_id );
colinfo[n].number = table->data[ i ][ 1 ] - (1<<15);
colinfo[n].colname = MSI_makestring( db, id );
colinfo[n].colname = msi_makestring( db, id );
colinfo[n].type = table->data[ i ] [ 3 ] ^ 0x8000;
colinfo[n].hash_table = NULL;
/* this assumes that columns are in order in the table */
......
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