changeset 32020:6c48f42a9c75

Replace m_config_parse_config_file() forward declaration by proper #include.
author diego
date Wed, 08 Sep 2010 20:07:58 +0000
parents 622ac29edfc8
children 1d9f646f8db3
files gui/cfg.c gui/win32/wincfg.c
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/gui/cfg.c	Wed Sep 08 20:04:10 2010 +0000
+++ b/gui/cfg.c	Wed Sep 08 20:07:58 2010 +0000
@@ -27,6 +27,7 @@
 #include "mplayer.h"
 #include "m_config.h"
 #include "m_option.h"
+#include "parser-cfg.h"
 #include "path.h"
 #include "libmpcodecs/vd.h"
 #include "libvo/sub.h"
@@ -101,7 +102,6 @@
 // ---
 
 extern int    disable_gui_conf;
-int m_config_parse_config_file(m_config_t* config, char *conffile);
 
 static m_config_t * gui_conf;
 static const m_option_t gui_opts[] =
--- a/gui/win32/wincfg.c	Wed Sep 08 20:04:10 2010 +0000
+++ b/gui/win32/wincfg.c	Wed Sep 08 20:07:58 2010 +0000
@@ -30,6 +30,7 @@
 #include "help_mp.h"
 #include "m_config.h"
 #include "m_option.h"
+#include "parser-cfg.h"
 #include "libvo/video_out.h"
 #include "mixer.h"
 #include "gui/mplayer/gmplayer.h"
@@ -56,7 +57,6 @@
 
 /* External functions */
 extern char *proc_priority;
-int m_config_parse_config_file(m_config_t *config, char *conffile);
 
 static m_config_t *gui_conf;
 static const m_option_t gui_opts[] =