# HG changeset patch # User diego # Date 1276762057 0 # Node ID 169013ed9718e41b86df676682d8b8e48ec734f2 # Parent 204f1f103f739dbe38b06b7c886d04a4c604a62b Place vo_osd_list extern declaration in sub.h instead of all over the code. diff -r 204f1f103f73 -r 169013ed9718 gui/interface.c --- 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 ) diff -r 204f1f103f73 -r 169013ed9718 gui/win32/dialogs.c --- 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) diff -r 204f1f103f73 -r 169013ed9718 libvo/sub.h --- 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; diff -r 204f1f103f73 -r 169013ed9718 libvo/vo_dxr3.c --- 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