Alexandre Julliard : shlwapi/tests: Make some variables static.
Alexandre Julliard
julliard at winehq.org
Fri Oct 1 11:38:40 CDT 2010
Module: wine
Branch: master
Commit: eb2d556ec89ded1d5470244dd7e94ae3609b34a1
URL: http://source.winehq.org/git/wine.git/?a=commit;h=eb2d556ec89ded1d5470244dd7e94ae3609b34a1
Author: Alexandre Julliard <julliard at winehq.org>
Date: Fri Oct 1 13:37:34 2010 +0200
shlwapi/tests: Make some variables static.
---
dlls/shlwapi/tests/clsid.c | 2 +-
dlls/shlwapi/tests/path.c | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/dlls/shlwapi/tests/clsid.c b/dlls/shlwapi/tests/clsid.c
index 98a8c6d..85550fc 100644
--- a/dlls/shlwapi/tests/clsid.c
+++ b/dlls/shlwapi/tests/clsid.c
@@ -40,7 +40,7 @@ static BOOL (WINAPI *pSHLWAPI_269)(LPCSTR, CLSID *) = 0;
static DWORD (WINAPI *pSHLWAPI_23)(REFGUID, LPSTR, INT) = 0;
/* GUIDs to test */
-const GUID * TEST_guids[] = {
+static const GUID * TEST_guids[] = {
&CLSID_ShellDesktop,
&CLSID_ShellLink,
&CATID_BrowsableShellExt,
diff --git a/dlls/shlwapi/tests/path.c b/dlls/shlwapi/tests/path.c
index 3e83a45..9b4b15e 100644
--- a/dlls/shlwapi/tests/path.c
+++ b/dlls/shlwapi/tests/path.c
@@ -37,7 +37,7 @@ static BOOL (WINAPI *pPathAppendA)(LPSTR, LPCSTR);
/* ################ */
-struct {
+static const struct {
const char *url;
const char *path;
DWORD ret;
@@ -106,7 +106,7 @@ static struct {
{NULL, FALSE}
};
-struct {
+static const struct {
const char *path;
const char *result;
} TEST_PATH_UNQUOTE_SPACES[] = {
More information about the wine-cvs
mailing list