changeset 33297:9a7b0dab3d95

Fix compilation error with Win32 GUI. A "gui/win32/wincfg.c:59: error: static declaration of 'gui_conf' follows non-static declaration" occurred because gui_conf recently was changed 'extern'. Patch by Stephen Sheldon, sfsheldo gmail com.
author ib
date Fri, 06 May 2011 08:47:18 +0000
parents ac194a26317b
children f0733d37f56b
files gui/win32/wincfg.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/gui/win32/wincfg.c	Fri May 06 08:17:05 2011 +0000
+++ b/gui/win32/wincfg.c	Fri May 06 08:47:18 2011 +0000
@@ -56,7 +56,7 @@
 int gui_sub_pos_x = -1;
 int gui_sub_pos_y = -1;
 
-static m_config_t *gui_conf;
+m_config_t *gui_conf;
 static const m_option_t gui_opts[] =
 {
     {   "priority", &proc_priority, CONF_TYPE_STRING, 0, 0, 0, NULL},