From 2c8f5fa622f0ff1a9186a26deada9b3e72603e49 Mon Sep 17 00:00:00 2001 From: diego Date: Tue, 16 Feb 2010 16:32:38 +0000 Subject: stream: Mark functions not used outside of their files as static. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30599 b3059339-0415-0410-9bf9-f77b7e298cf2 --- stream/stream_dvd.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'stream/stream_dvd.c') diff --git a/stream/stream_dvd.c b/stream/stream_dvd.c index 3747bbaac1..1fee28ad6c 100644 --- a/stream/stream_dvd.c +++ b/stream/stream_dvd.c @@ -249,7 +249,8 @@ static int dvd_next_cell(dvd_priv_t *d) { return next_cell; } -int dvd_read_sector(dvd_priv_t *d,unsigned char* data) { +static int dvd_read_sector(dvd_priv_t *d, unsigned char *data) +{ int len; if(d->packs_left==0) { @@ -369,7 +370,8 @@ read_next: return d->cur_pack-1; } -void dvd_seek(dvd_priv_t *d,int pos) { +static void dvd_seek(dvd_priv_t *d, int pos) +{ d->packs_left=-1; d->cur_pack=pos; @@ -407,7 +409,8 @@ void dvd_seek(dvd_priv_t *d,int pos) { d->angle_seek=1; } -void dvd_close(dvd_priv_t *d) { +static void dvd_close(dvd_priv_t *d) +{ ifoClose(d->vts_file); ifoClose(d->vmg_file); DVDCloseFile(d->title); -- cgit v1.2.3