# HG changeset patch # User diego # Date 1188044734 0 # Node ID 35fcce39b121db0af4e081db07a06f4aa8269ff5 # Parent 0af335b90a68d6292866709f1fe28d28144469a5 Remove redundant extern variable declarations, include proper headers instead. diff -r 0af335b90a68 -r 35fcce39b121 gui/cfg.c --- a/gui/cfg.c Sat Aug 25 12:19:16 2007 +0000 +++ b/gui/cfg.c Sat Aug 25 12:25:34 2007 +0000 @@ -10,8 +10,10 @@ #include "mplayer.h" #include "m_config.h" #include "m_option.h" - +#include "libvo/sub.h" #include "libvo/video_out.h" +#include "stream/stream.h" +#include "libmpdemux/demuxer.h" #include "cfg.h" #include "app.h" diff -r 0af335b90a68 -r 35fcce39b121 gui/interface.c --- a/gui/interface.c Sat Aug 25 12:19:16 2007 +0000 +++ b/gui/interface.c Sat Aug 25 12:25:34 2007 +0000 @@ -15,12 +15,10 @@ #include "mplayer/gmplayer.h" #include "mplayer/play.h" -#include "mplayer.h" #include "access_mpcontext.h" #include "app.h" #include "cfg.h" #include "help_mp.h" -#include "subreader.h" #include "libvo/x11_common.h" #include "libvo/video_out.h" #include "libvo/font_load.h" diff -r 0af335b90a68 -r 35fcce39b121 gui/mplayer/gtk/opts.c --- a/gui/mplayer/gtk/opts.c Sat Aug 25 12:19:16 2007 +0000 +++ b/gui/mplayer/gtk/opts.c Sat Aug 25 12:25:34 2007 +0000 @@ -12,6 +12,7 @@ #include "help_mp.h" #include "mixer.h" #include "libao2/audio_out.h" +#include "libvo/sub.h" #include "libvo/video_out.h" #include "stream/stream.h" #include "libmpdemux/demuxer.h" diff -r 0af335b90a68 -r 35fcce39b121 mplayer.h --- a/mplayer.h Sat Aug 25 12:19:16 2007 +0000 +++ b/mplayer.h Sat Aug 25 12:25:34 2007 +0000 @@ -28,16 +28,10 @@ extern float sub_delay; extern float sub_fps; extern int sub_auto; -extern int sub_pos; -extern int sub_unicode; -extern char * sub_cp; -extern int suboverlap_enabled; extern char * filename; extern int stream_cache_size; -extern int force_ni; -extern int index_mode; extern int autosync; // libmpcodecs: