]> git.sesse.net Git - vlc/commitdiff
vlc_timer_getoverrun result must be used
authorRémi Denis-Courmont <remi@remlab.net>
Wed, 3 Jun 2009 15:53:38 +0000 (18:53 +0300)
committerRémi Denis-Courmont <remi@remlab.net>
Wed, 3 Jun 2009 15:53:38 +0000 (18:53 +0300)
include/vlc_threads.h

index d6535950a23bdff553fd226d6f783c9afe3e4c14..8cf3d37a5fab07ff262575bfe8afb26fc61df2e7 100644 (file)
@@ -184,7 +184,7 @@ VLC_EXPORT (void, vlc_control_cancel, (int cmd, ...));
 VLC_EXPORT( int, vlc_timer_create, (vlc_timer_t *, void (*) (vlc_timer_t *, void *), void *) LIBVLC_USED );
 VLC_EXPORT( void, vlc_timer_destroy, (vlc_timer_t *) );
 VLC_EXPORT( void, vlc_timer_schedule, (vlc_timer_t *, bool, mtime_t, mtime_t) );
-VLC_EXPORT( unsigned, vlc_timer_getoverrun, (const vlc_timer_t *) );
+VLC_EXPORT( unsigned, vlc_timer_getoverrun, (const vlc_timer_t *) LIBVLC_USED );
 
 #ifndef LIBVLC_USE_PTHREAD_CANCEL
 enum {