user32/tests: Make some variables static.

This commit is contained in:
Alexandre Julliard 2010-10-01 13:37:44 +02:00
parent eb2d556ec8
commit dfab8824c5
2 changed files with 5 additions and 5 deletions

View File

@ -414,7 +414,7 @@ struct message {
LPARAM lParam; /* expected value of lParam */
};
struct sendinput_test_s {
static const struct sendinput_test_s {
WORD wVk;
DWORD dwFlags;
BOOL _todo_wine;
@ -674,10 +674,10 @@ static struct message sent_messages[MAXKEYMESSAGES];
static UINT sent_messages_cnt;
/* 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;
struct transition_s *t = test->expected_transitions;
const struct transition_s *t = test->expected_transitions;
UINT actual_cnt = 0;
const struct message *expected = test->expected_messages;

View File

@ -996,8 +996,8 @@ static void test_listbox_LB_DIR(void)
DeleteFileA( "wtest1.tmp.c" );
}
HWND g_listBox;
HWND g_label;
static HWND g_listBox;
static HWND g_label;
#define ID_TEST_LABEL 1001
#define ID_TEST_LISTBOX 1002