changeset 33349:3ab3212fb624

Make vcd_seek_to_track static, the GUI no longer needs to call it directly.
author reimar
date Sat, 07 May 2011 21:32:50 +0000
parents 62ab329812c9
children 898d4c4d42c1
files stream/vcd_read.h stream/vcd_read_darwin.h stream/vcd_read_fbsd.h stream/vcd_read_os2.h stream/vcd_read_win32.h
diffstat 5 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/stream/vcd_read.h	Sat May 07 21:28:56 2011 +0000
+++ b/stream/vcd_read.h	Sat May 07 21:32:50 2011 +0000
@@ -62,7 +62,7 @@
          vcd->entry.cdte_addr.msf.minute*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){
   vcd->entry.cdte_format = CDROM_MSF;
   vcd->entry.cdte_track  = track;
   if (ioctl(vcd->fd, CDROMREADTOCENTRY, &vcd->entry)) {
--- a/stream/vcd_read_darwin.h	Sat May 07 21:28:56 2011 +0000
+++ b/stream/vcd_read_darwin.h	Sat May 07 21:32:50 2011 +0000
@@ -67,7 +67,7 @@
   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;
 
--- a/stream/vcd_read_fbsd.h	Sat May 07 21:28:56 2011 +0000
+++ b/stream/vcd_read_fbsd.h	Sat May 07 21:32:50 2011 +0000
@@ -136,7 +136,7 @@
   return 1;
 }
 
-int
+static int
 vcd_seek_to_track(mp_vcd_priv_t* vcd, int track)
 {
   if (!read_toc_entry(vcd, track))
--- a/stream/vcd_read_os2.h	Sat May 07 21:28:56 2011 +0000
+++ b/stream/vcd_read_os2.h	Sat May 07 21:32:50 2011 +0000
@@ -57,7 +57,7 @@
         (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];
--- a/stream/vcd_read_win32.h	Sat May 07 21:28:56 2011 +0000
+++ b/stream/vcd_read_win32.h	Sat May 07 21:32:50 2011 +0000
@@ -53,7 +53,7 @@
 	 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)