Skip to content

Commit

Permalink
Move duplicated extern declarations of mp_msg_levels and mp_msg_level…
Browse files Browse the repository at this point in the history
…_all

to cfg-common.h where they are really needed.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26162 b3059339-0415-0410-9bf9-f77b7e298cf2
  • Loading branch information
diego committed Mar 4, 2008
1 parent 622540e commit 2a9e515
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
3 changes: 3 additions & 0 deletions cfg-common.h
Original file line number Diff line number Diff line change
Expand Up @@ -587,6 +587,9 @@ const m_option_t audio_filter_conf[]={
{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},

Expand Down
3 changes: 0 additions & 3 deletions mencoder.c
Original file line number Diff line number Diff line change
Expand Up @@ -143,9 +143,6 @@ double cur_video_time_usage=0;
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
Expand Down
3 changes: 0 additions & 3 deletions mplayer.c
Original file line number Diff line number Diff line change
Expand Up @@ -332,9 +332,6 @@ int suboverlap_enabled = 1;
#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


Expand Down

0 comments on commit 2a9e515

Please sign in to comment.