]> git.sesse.net Git - vlc/blobdiff - include/vlc_threads.h
Remove useless timer parameter
[vlc] / include / vlc_threads.h
index 8cf3d37a5fab07ff262575bfe8afb26fc61df2e7..316bf73f7f81d100408f5a18a0fd9ff4a272a9af 100644 (file)
@@ -112,7 +112,7 @@ typedef struct vlc_timer_t vlc_timer_t;
 struct vlc_timer_t
 {
     timer_t handle;
-    void (*func) (vlc_timer_t *, void *);
+    void (*func) (void *);
     void *data;
 };
 
@@ -181,7 +181,7 @@ VLC_EXPORT( void, vlc_cancel, (vlc_thread_t) );
 VLC_EXPORT( void, vlc_join, (vlc_thread_t, void **) );
 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( int, vlc_timer_create, (vlc_timer_t *, void (*) (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 *) LIBVLC_USED );