msi/tests: Make some variables static.

This commit is contained in:
Alexandre Julliard 2010-10-01 13:36:43 +02:00
parent 7064e8838c
commit d1d1d0205d
4 changed files with 4 additions and 4 deletions

View File

@ -8230,7 +8230,7 @@ static void test_select_with_tablenames(void)
DeleteFileA(msifile); DeleteFileA(msifile);
} }
UINT ordervals[6][3] = static const UINT ordervals[6][3] =
{ {
{ MSI_NULL_INTEGER, 12, 13 }, { MSI_NULL_INTEGER, 12, 13 },
{ 1, 2, 3 }, { 1, 2, 3 },

View File

@ -7661,7 +7661,7 @@ error:
RemoveDirectory("msitest"); RemoveDirectory("msitest");
} }
struct sourcepathmap static const struct sourcepathmap
{ {
BOOL sost; /* shortone\shorttwo */ BOOL sost; /* shortone\shorttwo */
BOOL solt; /* shortone\longtwo */ BOOL solt; /* shortone\longtwo */

View File

@ -31,7 +31,7 @@
#include "wine/test.h" #include "wine/test.h"
static const char msifile[] = "winetest-package.msi"; static const char msifile[] = "winetest-package.msi";
char CURR_DIR[MAX_PATH]; static char CURR_DIR[MAX_PATH];
static UINT (WINAPI *pMsiApplyMultiplePatchesA)(LPCSTR, LPCSTR, LPCSTR); static UINT (WINAPI *pMsiApplyMultiplePatchesA)(LPCSTR, LPCSTR, LPCSTR);

View File

@ -63,7 +63,7 @@
#define PID_MSISOURCE PID_WORDCOUNT #define PID_MSISOURCE PID_WORDCOUNT
#define PID_MSIRESTRICT PID_CHARCOUNT #define PID_MSIRESTRICT PID_CHARCOUNT
const char *msifile = "winetest-suminfo.msi"; static const char *msifile = "winetest-suminfo.msi";
static const WCHAR msifileW[] = { static const WCHAR msifileW[] = {
'w','i','n','e','t','e','s','t','-','s','u','m','i','n','f','o','.','m','s','i',0 }; 'w','i','n','e','t','e','s','t','-','s','u','m','i','n','f','o','.','m','s','i',0 };