menu: Move vf_info_menu extern declaration to menu.h

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32089 b3059339-0415-0410-9bf9-f77b7e298cf2

Mark vf_info_menu declaration as const.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32109 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
diego 2010-09-08 18:34:21 +00:00 committed by Uoti Urpala
parent 48237126ae
commit 7a3fe6ccdb
3 changed files with 2 additions and 2 deletions

View File

@ -25,6 +25,7 @@
extern double menu_mouse_x;
extern double menu_mouse_y;
extern int menu_mouse_pos_updated;
extern const struct vf_info vf_info_menu;
struct menu_priv_s;
typedef struct menu_s menu_t;

View File

@ -257,7 +257,7 @@ static int open_vf(vf_instance_t *vf, char* args){
}
vf_info_t vf_info_menu = {
const vf_info_t vf_info_menu = {
"Internal filter for libmenu",
"menu",
"Albeu",

View File

@ -370,7 +370,6 @@ char* current_module=NULL; // for debugging
#ifdef CONFIG_MENU
#include "m_struct.h"
#include "libmenu/menu.h"
extern vf_info_t vf_info_menu;
static const vf_info_t* const libmenu_vfs[] = {
&vf_info_menu,
NULL