From 0119d770a3e55f137d13e94329eb0af1d8232f4e Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Fri, 1 Oct 2010 13:38:31 +0200 Subject: [PATCH] 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 56b358537b9..4ab3689f5b1 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 4d4a92f787a..195940977fd 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);