changeset 30540:bf9ec7f73c86

Declare vf_menu_pause_update in libmenu/menu.h. This avoids a forward declaration in mplayer.c.
author diego
date Sun, 14 Feb 2010 14:54:48 +0000
parents 437b251e4194
children e0996062f8e9
files libmenu/menu.h mplayer.c
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libmenu/menu.h	Sun Feb 14 14:49:44 2010 +0000
+++ b/libmenu/menu.h	Sun Feb 14 14:54:48 2010 +0000
@@ -21,6 +21,7 @@
 
 #include "m_struct.h"
 #include "libmpcodecs/mp_image.h"
+#include "libmpcodecs/vf.h"
 
 struct menu_priv_s;
 typedef struct  menu_s menu_t;
@@ -113,4 +114,6 @@
 
 void menu_draw_box(mp_image_t* mpi, unsigned char grey, unsigned char alpha, int x, int y, int w, int h);
 
+void vf_menu_pause_update(struct vf_instance_s* vf);
+
 #endif /* MPLAYER_MENU_H */
--- a/mplayer.c	Sun Feb 14 14:49:44 2010 +0000
+++ b/mplayer.c	Sun Feb 14 14:54:48 2010 +0000
@@ -334,7 +334,6 @@
 #ifdef CONFIG_MENU
 #include "m_struct.h"
 #include "libmenu/menu.h"
-void vf_menu_pause_update(struct vf_instance_s* vf);
 extern vf_info_t vf_info_menu;
 static vf_info_t* libmenu_vfs[] = {
   &vf_info_menu,