summaryrefslogtreecommitdiffstats
path: root/stream
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2011-05-07 21:32:50 +0000
committerUoti Urpala <uau@mplayer2.org>2011-06-29 09:26:00 +0300
commit8278977c0de65322a6c59c13a1f50f61ddd43e2c (patch)
treec6933a7c893a76bd72e3ce4317db296fcc26ceff /stream
parent9149ec5d89d5ee2f89027691ce0f627fe91fa287 (diff)
downloadmpv-8278977c0de65322a6c59c13a1f50f61ddd43e2c.tar.bz2
mpv-8278977c0de65322a6c59c13a1f50f61ddd43e2c.tar.xz
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
Diffstat (limited to 'stream')
-rw-r--r--stream/vcd_read_darwin.h2
-rw-r--r--stream/vcd_read_fbsd.h2
-rw-r--r--stream/vcd_read_os2.h2
-rw-r--r--stream/vcd_read_win32.h2
4 files changed, 4 insertions, 4 deletions
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)