changeset 26130:e17acc5feca4

Move duplicated extern declarations of mp_msg_levels and mp_msg_level_all to cfg-common.h where they are really needed.
author diego
date Tue, 04 Mar 2008 21:45:36 +0000
parents 704ef034ed7c
children 83c95bd31aab
files cfg-common.h mencoder.c mplayer.c
diffstat 3 files changed, 3 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- 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},
 
--- 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
--- 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