From ebbf5fb7a22b91fcd0b88f46258aa9ab9a349c92 Mon Sep 17 00:00:00 2001 From: diego Date: Tue, 15 Jun 2010 08:49:38 +0000 Subject: [PATCH] cosmetics: Remove some unused lines Remove some unused extern declarations. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31424 b3059339-0415-0410-9bf9-f77b7e298cf2 Remove an unused extern declaration. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31425 b3059339-0415-0410-9bf9-f77b7e298cf2 Remove commented-out forward declaration for removed function. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31429 b3059339-0415-0410-9bf9-f77b7e298cf2 Remove unused extern fs_layer declaration. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31435 b3059339-0415-0410-9bf9-f77b7e298cf2 Remove unused 'extern int vo_osd_changed_flag' declaration. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31438 b3059339-0415-0410-9bf9-f77b7e298cf2 --- cfg-common.h | 1 - cfg-mplayer.h | 6 ------ libvo/mga_common.c | 3 --- libvo/vo_dxr3.c | 1 - 4 files changed, 11 deletions(-) diff --git a/cfg-common.h b/cfg-common.h index f57e376157..be8ffadba5 100644 --- a/cfg-common.h +++ b/cfg-common.h @@ -183,7 +183,6 @@ const m_option_t pvropts_conf[]={ extern const m_config_t dvbin_opts_conf[]; extern const m_option_t lavfdopts_conf[]; -extern int rtspStreamOverTCP; extern int rtsp_transport_tcp; extern int rtsp_transport_http; extern int rtsp_transport_sctp; diff --git a/cfg-mplayer.h b/cfg-mplayer.h index 489062336e..dc1cb63ac9 100644 --- a/cfg-mplayer.h +++ b/cfg-mplayer.h @@ -32,17 +32,11 @@ extern char *fb_mode_cfgfile; extern char *fb_mode_name; -extern char *dfb_params; extern char *lirc_configfile; /* only used at startup (setting these values from configfile) */ extern char *vo_geometry; - -extern char *ao_outputfilename; -extern int ao_pcm_waveheader; - -extern int fs_layer; extern int stop_xscreensaver; extern int menu_startup; diff --git a/libvo/mga_common.c b/libvo/mga_common.c index 26df56d5b4..fa6b52e0d6 100644 --- a/libvo/mga_common.c +++ b/libvo/mga_common.c @@ -67,9 +67,6 @@ static void draw_osd(void) } -//static void -//write_slice_g200(uint8_t *y,uint8_t *cr, uint8_t *cb,uint32_t slice_num) - static void draw_slice_g200(uint8_t *image[], int stride[], int width,int height,int x,int y) { diff --git a/libvo/vo_dxr3.c b/libvo/vo_dxr3.c index a4e012894e..240d369f83 100644 --- a/libvo/vo_dxr3.c +++ b/libvo/vo_dxr3.c @@ -552,7 +552,6 @@ static void draw_alpha(int x, int y, int w, int h, unsigned char* src, unsigned #endif } -extern int vo_osd_changed_flag; extern mp_osd_obj_t* vo_osd_list; static void draw_osd(void)