wined3d: Make some variables static.
This commit is contained in:
parent
e02f7b2062
commit
9880cd7504
|
@ -4442,7 +4442,7 @@ static int sig_tree_compare(const void *key, const struct wine_rb_entry *entry)
|
|||
return compare_sig(key, e->sig);
|
||||
}
|
||||
|
||||
struct wine_rb_functions sig_tree_functions =
|
||||
static const struct wine_rb_functions sig_tree_functions =
|
||||
{
|
||||
wined3d_rb_alloc,
|
||||
wined3d_rb_realloc,
|
||||
|
|
|
@ -789,7 +789,7 @@ struct driver_quirk
|
|||
const char *description;
|
||||
};
|
||||
|
||||
struct driver_quirk quirk_table[] =
|
||||
static const struct driver_quirk quirk_table[] =
|
||||
{
|
||||
{
|
||||
match_ati_r300_to_500,
|
||||
|
|
|
@ -32,7 +32,7 @@ int num_lock = 0;
|
|||
void (*CDECL wine_tsx11_lock_ptr)(void) = NULL;
|
||||
void (*CDECL wine_tsx11_unlock_ptr)(void) = NULL;
|
||||
|
||||
CRITICAL_SECTION wined3d_cs;
|
||||
static CRITICAL_SECTION wined3d_cs;
|
||||
static CRITICAL_SECTION_DEBUG wined3d_cs_debug =
|
||||
{
|
||||
0, 0, &wined3d_cs,
|
||||
|
@ -40,7 +40,7 @@ static CRITICAL_SECTION_DEBUG wined3d_cs_debug =
|
|||
&wined3d_cs_debug.ProcessLocksList},
|
||||
0, 0, {(DWORD_PTR)(__FILE__ ": wined3d_cs")}
|
||||
};
|
||||
CRITICAL_SECTION wined3d_cs = {&wined3d_cs_debug, -1, 0, 0, 0, 0};
|
||||
static CRITICAL_SECTION wined3d_cs = {&wined3d_cs_debug, -1, 0, 0, 0, 0};
|
||||
|
||||
/* When updating default value here, make sure to update winecfg as well,
|
||||
* where appropriate. */
|
||||
|
|
Loading…
Reference in New Issue