comparison cfg-common.h @ 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 4d7f8b0bebe7
children a48df598c055
comparison
equal deleted inserted replaced
26129:704ef034ed7c 26130:e17acc5feca4
584 const m_option_t audio_filter_conf[]={ 584 const m_option_t audio_filter_conf[]={
585 {"list", &af_cfg.list, CONF_TYPE_STRING_LIST, 0, 0, 0, NULL}, 585 {"list", &af_cfg.list, CONF_TYPE_STRING_LIST, 0, 0, 0, NULL},
586 {"force", &af_cfg.force, CONF_TYPE_INT, CONF_RANGE, 0, 7, NULL}, 586 {"force", &af_cfg.force, CONF_TYPE_INT, CONF_RANGE, 0, 7, NULL},
587 {NULL, NULL, 0, 0, 0, 0, NULL} 587 {NULL, NULL, 0, 0, 0, 0, NULL}
588 }; 588 };
589
590 extern int mp_msg_levels[MSGT_MAX];
591 extern int mp_msg_level_all;
589 592
590 const m_option_t msgl_config[]={ 593 const m_option_t msgl_config[]={
591 { "all", &mp_msg_level_all, CONF_TYPE_INT, CONF_RANGE, -1, 9, NULL}, 594 { "all", &mp_msg_level_all, CONF_TYPE_INT, CONF_RANGE, -1, 9, NULL},
592 595
593 { "global", &mp_msg_levels[MSGT_GLOBAL], CONF_TYPE_INT, CONF_RANGE, -1, 9, NULL }, 596 { "global", &mp_msg_levels[MSGT_GLOBAL], CONF_TYPE_INT, CONF_RANGE, -1, 9, NULL },