Alexandre Julliard : winecfg: Make some variables static.

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


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

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

winecfg: Make some variables static.

---

 programs/winecfg/theme.c   |    4 ++--
 programs/winecfg/winecfg.h |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/programs/winecfg/theme.c b/programs/winecfg/theme.c
index 56b3585..4ab3689 100644
--- a/programs/winecfg/theme.c
+++ b/programs/winecfg/theme.c
@@ -423,8 +423,8 @@ static void do_apply_theme (int themeIndex, int colorIndex, int sizeIndex)
     }
 }
 
-int updating_ui;
-BOOL theme_dirty;
+static int updating_ui;
+static BOOL theme_dirty;
 
 static void enable_size_and_color_controls (HWND dialog, BOOL enable)
 {
diff --git a/programs/winecfg/winecfg.h b/programs/winecfg/winecfg.h
index 4d4a92f..1959409 100644
--- a/programs/winecfg/winecfg.h
+++ b/programs/winecfg/winecfg.h
@@ -116,7 +116,7 @@ void apply_drive_changes(void);
 BOOL browse_for_unix_folder(HWND dialog, WCHAR *pszPath);
 extern struct drive drives[26]; /* one for each drive letter */
 
-BOOL gui_mode;
+extern BOOL gui_mode;
 
 /* Some basic utilities to make win32 suck less */
 #define disable(id) EnableWindow(GetDlgItem(dialog, id), 0);




More information about the wine-cvs mailing list