diff --git a/dlls/msi/tests/db.c b/dlls/msi/tests/db.c index b3fe3b85306..8f6b1ec9434 100644 --- a/dlls/msi/tests/db.c +++ b/dlls/msi/tests/db.c @@ -8230,7 +8230,7 @@ static void test_select_with_tablenames(void) DeleteFileA(msifile); } -UINT ordervals[6][3] = +static const UINT ordervals[6][3] = { { MSI_NULL_INTEGER, 12, 13 }, { 1, 2, 3 }, diff --git a/dlls/msi/tests/install.c b/dlls/msi/tests/install.c index 11b1de1d66c..f232b5023ad 100644 --- a/dlls/msi/tests/install.c +++ b/dlls/msi/tests/install.c @@ -7661,7 +7661,7 @@ error: RemoveDirectory("msitest"); } -struct sourcepathmap +static const struct sourcepathmap { BOOL sost; /* shortone\shorttwo */ BOOL solt; /* shortone\longtwo */ diff --git a/dlls/msi/tests/package.c b/dlls/msi/tests/package.c index 7efb6a291db..948922f4c82 100644 --- a/dlls/msi/tests/package.c +++ b/dlls/msi/tests/package.c @@ -31,7 +31,7 @@ #include "wine/test.h" 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); diff --git a/dlls/msi/tests/suminfo.c b/dlls/msi/tests/suminfo.c index 07202a3b88d..76dac57c4e7 100644 --- a/dlls/msi/tests/suminfo.c +++ b/dlls/msi/tests/suminfo.c @@ -63,7 +63,7 @@ #define PID_MSISOURCE PID_WORDCOUNT #define PID_MSIRESTRICT PID_CHARCOUNT -const char *msifile = "winetest-suminfo.msi"; +static const char *msifile = "winetest-suminfo.msi"; static const WCHAR msifileW[] = { 'w','i','n','e','t','e','s','t','-','s','u','m','i','n','f','o','.','m','s','i',0 };