changeset 31373:169013ed9718

Place vo_osd_list extern declaration in sub.h instead of all over the code.
author diego
date Thu, 17 Jun 2010 08:07:37 +0000
parents 204f1f103f73
children 64706b3742c1
files gui/interface.c gui/win32/dialogs.c libvo/sub.h libvo/vo_dxr3.c
diffstat 4 files changed, 2 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/gui/interface.c	Thu Jun 17 08:04:12 2010 +0000
+++ b/gui/interface.c	Thu Jun 17 08:07:37 2010 +0000
@@ -400,8 +400,6 @@
 #endif
 }
 
-extern mp_osd_obj_t* vo_osd_list;
-
 extern char **sub_name;
 
 void guiLoadSubtitle( char * name )
--- a/gui/win32/dialogs.c	Thu Jun 17 08:04:12 2010 +0000
+++ b/gui/win32/dialogs.c	Thu Jun 17 08:07:37 2010 +0000
@@ -46,7 +46,6 @@
 guiInterface_t guiIntfStruct;
 int addurl = 0;
 
-extern mp_osd_obj_t* vo_osd_list;
 extern char **sub_name;
 
 void guiLoadSubtitle(char *name)
--- a/libvo/sub.h	Thu Jun 17 08:04:12 2010 +0000
+++ b/libvo/sub.h	Thu Jun 17 08:07:37 2010 +0000
@@ -82,6 +82,8 @@
 extern int vo_osd_progbar_type;
 extern int vo_osd_progbar_value;   // 0..255
 
+extern mp_osd_obj_t *vo_osd_list;
+
 extern void* vo_spudec;
 extern void* vo_vobsub;
 
--- a/libvo/vo_dxr3.c	Thu Jun 17 08:04:12 2010 +0000
+++ b/libvo/vo_dxr3.c	Thu Jun 17 08:07:37 2010 +0000
@@ -587,8 +587,6 @@
 #endif
 }
 
-extern mp_osd_obj_t* vo_osd_list;
-
 static void draw_osd(void)
 {
 #ifdef SPU_SUPPORT