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);