# HG changeset patch # User diego # Date 1284205385 0 # Node ID bfd3e0d9ab9d2c41c4124b8f0d11d35b4ac58bd6 # Parent 734f9a57c18630736458dd26287e2bdc736c8cf3 Move mconfig extern variable declaration to mpcommon.h. diff -r 734f9a57c186 -r bfd3e0d9ab9d asxparser.c --- a/asxparser.c Sat Sep 11 11:38:36 2010 +0000 +++ b/asxparser.c Sat Sep 11 11:43:05 2010 +0000 @@ -31,8 +31,7 @@ #include "asxparser.h" #include "mp_msg.h" #include "m_config.h" - -extern m_config_t* mconfig; +#include "mpcommon.h" ////// List utils diff -r 734f9a57c186 -r bfd3e0d9ab9d mpcommon.h --- a/mpcommon.h Sat Sep 11 11:38:36 2010 +0000 +++ b/mpcommon.h Sat Sep 11 11:43:05 2010 +0000 @@ -19,6 +19,7 @@ #ifndef MPLAYER_MPCOMMON_H #define MPLAYER_MPCOMMON_H +#include "m_config.h" #include "m_option.h" #include "subreader.h" #include "libmpdemux/demuxer.h" @@ -57,6 +58,7 @@ extern const char *mencoder_version; extern const char *mplayer_version; +extern m_config_t *mconfig; extern const m_option_t noconfig_opts[]; void print_version(const char* name);