From 8278977c0de65322a6c59c13a1f50f61ddd43e2c Mon Sep 17 00:00:00 2001 From: reimar Date: Sat, 7 May 2011 21:32:50 +0000 Subject: cleanup: Make vcd_seek_to_track() static in more files git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@33436 b3059339-0415-0410-9bf9-f77b7e298cf2 --- stream/vcd_read_darwin.h | 2 +- stream/vcd_read_fbsd.h | 2 +- stream/vcd_read_os2.h | 2 +- stream/vcd_read_win32.h | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'stream') diff --git a/stream/vcd_read_darwin.h b/stream/vcd_read_darwin.h index 927b659871..71fc093984 100644 --- a/stream/vcd_read_darwin.h +++ b/stream/vcd_read_darwin.h @@ -67,7 +67,7 @@ static inline unsigned int vcd_get_msf(mp_vcd_priv_t* vcd) return CDConvertMSFToLBA(vcd->msf); } -int vcd_seek_to_track(mp_vcd_priv_t* vcd, int track) +static int vcd_seek_to_track(mp_vcd_priv_t* vcd, int track) { struct CDTrackInfo entry; diff --git a/stream/vcd_read_fbsd.h b/stream/vcd_read_fbsd.h index 6e50ac9ac9..8a59a2a8ee 100644 --- a/stream/vcd_read_fbsd.h +++ b/stream/vcd_read_fbsd.h @@ -136,7 +136,7 @@ read_toc_entry(mp_vcd_priv_t *vcd, int nr) return 1; } -int +static int vcd_seek_to_track(mp_vcd_priv_t* vcd, int track) { if (!read_toc_entry(vcd, track)) diff --git a/stream/vcd_read_os2.h b/stream/vcd_read_os2.h index 0585d1d7d0..1df2abec89 100644 --- a/stream/vcd_read_os2.h +++ b/stream/vcd_read_os2.h @@ -57,7 +57,7 @@ static inline unsigned vcd_get_msf(mp_vcd_priv_t *vcd) (vcd->msfCurrent.bSecond + vcd->msfCurrent.bMinute * 60) * 75 - 150; } -int vcd_seek_to_track(mp_vcd_priv_t *vcd, int track) +static int vcd_seek_to_track(mp_vcd_priv_t *vcd, int track) { struct { UCHAR auchSign[4]; diff --git a/stream/vcd_read_win32.h b/stream/vcd_read_win32.h index f4ac384d1d..2e13232606 100644 --- a/stream/vcd_read_win32.h +++ b/stream/vcd_read_win32.h @@ -53,7 +53,7 @@ static inline unsigned vcd_get_msf(mp_vcd_priv_t* vcd, int track){ vcd->toc.TrackData[index].Address[1] * 60) * 75 - 150; } -int vcd_seek_to_track(mp_vcd_priv_t* vcd, int track) +static int vcd_seek_to_track(mp_vcd_priv_t* vcd, int track) { unsigned sect; if (track < vcd->toc.FirstTrack || track > vcd->toc.LastTrack) -- cgit v1.2.3