[vlc-commits] mtime: remove unused date_Move()

Rémi Denis-Courmont git at videolan.org
Wed May 2 18:06:46 CEST 2018


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed May  2 18:31:21 2018 +0300| [6eac155c4955cd1d3c0764fc3637451a238f48e7] | committer: Rémi Denis-Courmont

mtime: remove unused date_Move()

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=6eac155c4955cd1d3c0764fc3637451a238f48e7
---

 include/vlc_mtime.h |  1 -
 src/libvlccore.sym  |  1 -
 src/misc/mtime.c    | 11 -----------
 3 files changed, 13 deletions(-)

diff --git a/include/vlc_mtime.h b/include/vlc_mtime.h
index 311eb670eb..e387a960e2 100644
--- a/include/vlc_mtime.h
+++ b/include/vlc_mtime.h
@@ -71,7 +71,6 @@ VLC_API void date_Init( date_t *, uint32_t, uint32_t );
 VLC_API void date_Change( date_t *, uint32_t, uint32_t );
 VLC_API void date_Set( date_t *, mtime_t );
 VLC_API mtime_t date_Get( const date_t * );
-VLC_API void date_Move( date_t *, mtime_t );
 VLC_API mtime_t date_Increment( date_t *, uint32_t );
 VLC_API mtime_t date_Decrement( date_t *, uint32_t );
 VLC_API uint64_t NTPtime64( void );
diff --git a/src/libvlccore.sym b/src/libvlccore.sym
index e1a928c3b7..725472b084 100644
--- a/src/libvlccore.sym
+++ b/src/libvlccore.sym
@@ -72,7 +72,6 @@ date_Decrement
 date_Get
 date_Increment
 date_Init
-date_Move
 date_Set
 decoder_AbortPictures
 decoder_GetDisplayDate
diff --git a/src/misc/mtime.c b/src/misc/mtime.c
index d08187cd66..4eb60fe92b 100644
--- a/src/misc/mtime.c
+++ b/src/misc/mtime.c
@@ -132,17 +132,6 @@ mtime_t date_Get( const date_t *p_date )
 }
 
 /**
- * Move forwards or backwards the date of a date_t.
- *
- * \param date to move
- * \param difference value
- */
-void date_Move( date_t *p_date, mtime_t i_difference )
-{
-    p_date->date += i_difference;
-}
-
-/**
  * Increment the date and return the result, taking into account
  * rounding errors.
  *



More information about the vlc-commits mailing list