[vlc-commits] vlc_tick: remove C++ long variant of vlc_tick_from_sec()

Steve Lhomme git at videolan.org
Fri Jun 29 17:57:35 CEST 2018


vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Fri Jun 29 17:56:53 2018 +0200| [2d4a266663c225b137060b41e37fb7611fe63522] | committer: Steve Lhomme

vlc_tick: remove C++ long variant of vlc_tick_from_sec()

it collides with the int64_t variant on some platform

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

 include/vlc_tick.h | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/include/vlc_tick.h b/include/vlc_tick.h
index 4e2ca3d4eb..2863060dd4 100644
--- a/include/vlc_tick.h
+++ b/include/vlc_tick.h
@@ -61,10 +61,6 @@ static inline vlc_tick_t vlc_tick_from_sec(int sec)
 {
     return CLOCK_FREQ * sec;
 }
-static inline vlc_tick_t vlc_tick_from_sec(long sec)
-{
-    return CLOCK_FREQ * sec;
-}
 static inline vlc_tick_t vlc_tick_from_sec(uint32_t sec)
 {
     return CLOCK_FREQ * sec;



More information about the vlc-commits mailing list