Alexandre Julliard : cabinet/tests: Make some variables static.

Alexandre Julliard julliard at winehq.org
Fri Oct 1 11:38:41 CDT 2010


Module: wine
Branch: master
Commit: 9a39cb94e4fbb89b6a243ed242e648d8c30fcde7
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=9a39cb94e4fbb89b6a243ed242e648d8c30fcde7

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Fri Oct  1 13:38:58 2010 +0200

cabinet/tests: Make some variables static.

---

 dlls/cabinet/tests/extract.c |    4 ++--
 dlls/cabinet/tests/fdi.c     |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/dlls/cabinet/tests/extract.c b/dlls/cabinet/tests/extract.c
index 29fd1c7..aedbdd4 100644
--- a/dlls/cabinet/tests/extract.c
+++ b/dlls/cabinet/tests/extract.c
@@ -55,10 +55,10 @@ typedef struct {
 } SESSION;
 
 /* function pointers */
-HMODULE hCabinet;
+static HMODULE hCabinet;
 static HRESULT (WINAPI *pExtract)(SESSION*, LPCSTR);
 
-CHAR CURR_DIR[MAX_PATH];
+static CHAR CURR_DIR[MAX_PATH];
 
 static void init_function_pointers(void)
 {
diff --git a/dlls/cabinet/tests/fdi.c b/dlls/cabinet/tests/fdi.c
index 5d470fa..7c7317f 100644
--- a/dlls/cabinet/tests/fdi.c
+++ b/dlls/cabinet/tests/fdi.c
@@ -28,7 +28,7 @@
 #define MEDIA_SIZE          999999999
 #define FOLDER_THRESHOLD    900000
 
-CHAR CURR_DIR[MAX_PATH];
+static CHAR CURR_DIR[MAX_PATH];
 
 /* FDI callbacks */
 




More information about the wine-cvs mailing list