X-Git-Url: http://nsz.repo.hu/git/?p=musl;a=blobdiff_plain;f=src%2Fthread%2Fpthread_create.c;h=ecf93a46617116fb6f7313e888256f16c1b1fde3;hp=917be54f2fb6d4c06bf3ebf9fffcd877af511cdd;hb=cfd892fde9454e014d9b291a56ce5740d8bc4a78;hpb=25d575edc494e5a519468889e62beea4dde186ea diff --git a/src/thread/pthread_create.c b/src/thread/pthread_create.c index 917be54f..ecf93a46 100644 --- a/src/thread/pthread_create.c +++ b/src/thread/pthread_create.c @@ -43,14 +43,14 @@ void pthread_exit(void *result) __syscall(SYS_exit, 0); } -void __do_cleanup_push(struct __ptcb *cb, void (*f)(void *), void *x) +void __do_cleanup_push(struct __ptcb *cb) { struct pthread *self = pthread_self(); cb->__next = self->cancelbuf; self->cancelbuf = cb; } -void __do_cleanup_pop(struct __ptcb *cb, int run) +void __do_cleanup_pop(struct __ptcb *cb) { __pthread_self()->cancelbuf = cb->__next; }