X-Git-Url: http://git.videolan.org/gitweb.cgi/vlc.git/?p=vlc.git;p=vlc.git;a=blobdiff_plain;f=src%2Fmisc%2Fpthread.c;h=7efa53d64d0043675d03a75b3162f8a996619a0a;hp=be39b1b53155478ad00b4e67d5a117371423d60b;hb=3e649d208889684211a788061134c6bc0c173b15;hpb=e2c1b16917c657b054a19c0a14255d3daffd6e8d diff --git a/src/misc/pthread.c b/src/misc/pthread.c index be39b1b531..7efa53d64d 100644 --- a/src/misc/pthread.c +++ b/src/misc/pthread.c @@ -588,7 +588,7 @@ void vlc_control_cancel (int cmd, ...) static void vlc_timer_do (union sigval val) { vlc_timer_t *id = val.sival_ptr; - id->func (id, id->data); + id->func (id->data); } /** @@ -601,8 +601,7 @@ static void vlc_timer_do (union sigval val) * @param data parameter for the timer function * @return 0 on success, a system error code otherwise. */ -int vlc_timer_create (vlc_timer_t *id, void (*func) (vlc_timer_t *, void *), - void *data) +int vlc_timer_create (vlc_timer_t *id, void (*func) (void *), void *data) { struct sigevent ev;