Commit dfab8824 authored by Alexandre Julliard's avatar Alexandre Julliard

user32/tests: Make some variables static.

parent eb2d556e
...@@ -414,7 +414,7 @@ struct message { ...@@ -414,7 +414,7 @@ struct message {
LPARAM lParam; /* expected value of lParam */ LPARAM lParam; /* expected value of lParam */
}; };
struct sendinput_test_s { static const struct sendinput_test_s {
WORD wVk; WORD wVk;
DWORD dwFlags; DWORD dwFlags;
BOOL _todo_wine; BOOL _todo_wine;
...@@ -674,10 +674,10 @@ static struct message sent_messages[MAXKEYMESSAGES]; ...@@ -674,10 +674,10 @@ static struct message sent_messages[MAXKEYMESSAGES];
static UINT sent_messages_cnt; static UINT sent_messages_cnt;
/* Verify that only specified key state transitions occur */ /* Verify that only specified key state transitions occur */
static void compare_and_check(int id, BYTE *ks1, BYTE *ks2, struct sendinput_test_s *test) static void compare_and_check(int id, BYTE *ks1, BYTE *ks2, const struct sendinput_test_s *test)
{ {
int i, failcount = 0; int i, failcount = 0;
struct transition_s *t = test->expected_transitions; const struct transition_s *t = test->expected_transitions;
UINT actual_cnt = 0; UINT actual_cnt = 0;
const struct message *expected = test->expected_messages; const struct message *expected = test->expected_messages;
......
...@@ -996,8 +996,8 @@ static void test_listbox_LB_DIR(void) ...@@ -996,8 +996,8 @@ static void test_listbox_LB_DIR(void)
DeleteFileA( "wtest1.tmp.c" ); DeleteFileA( "wtest1.tmp.c" );
} }
HWND g_listBox; static HWND g_listBox;
HWND g_label; static HWND g_label;
#define ID_TEST_LABEL 1001 #define ID_TEST_LABEL 1001
#define ID_TEST_LISTBOX 1002 #define ID_TEST_LISTBOX 1002
......
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