# HG changeset patch # User diego # Date 1204667136 0 # Node ID e17acc5feca46b00780eca6513d429e2dca589cc # Parent 704ef034ed7cb641fe49ba7499982ca5997c9fd6 Move duplicated extern declarations of mp_msg_levels and mp_msg_level_all to cfg-common.h where they are really needed. diff -r 704ef034ed7c -r e17acc5feca4 cfg-common.h --- a/cfg-common.h Tue Mar 04 21:14:05 2008 +0000 +++ b/cfg-common.h Tue Mar 04 21:45:36 2008 +0000 @@ -587,6 +587,9 @@ {NULL, NULL, 0, 0, 0, 0, NULL} }; +extern int mp_msg_levels[MSGT_MAX]; +extern int mp_msg_level_all; + const m_option_t msgl_config[]={ { "all", &mp_msg_level_all, CONF_TYPE_INT, CONF_RANGE, -1, 9, NULL}, diff -r 704ef034ed7c -r e17acc5feca4 mencoder.c --- a/mencoder.c Tue Mar 04 21:14:05 2008 +0000 +++ b/mencoder.c Tue Mar 04 21:45:36 2008 +0000 @@ -143,9 +143,6 @@ double cur_vout_time_usage=0; int benchmark=0; -extern int mp_msg_levels[MSGT_MAX]; -extern int mp_msg_level_all; - #ifdef WIN32 char * proc_priority=NULL; #endif diff -r 704ef034ed7c -r e17acc5feca4 mplayer.c --- a/mplayer.c Tue Mar 04 21:14:05 2008 +0000 +++ b/mplayer.c Tue Mar 04 21:45:36 2008 +0000 @@ -332,9 +332,6 @@ #include "libass/ass_mp.h" #endif -extern int mp_msg_levels[MSGT_MAX]; -extern int mp_msg_level_all; - char* current_module=NULL; // for debugging