diff options
author | kib <kib@FreeBSD.org> | 2017-07-09 03:57:24 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2017-07-09 03:57:24 +0000 |
commit | b2ca23d10b8c15411871271dcd7cb50c70be28ca (patch) | |
tree | 01925c4757df54087ec2a410b51b64767c7d193f | |
parent | 5bfd029b629cd6065fdc8130ac0ccf1c57ea1852 (diff) | |
download | FreeBSD-src-b2ca23d10b8c15411871271dcd7cb50c70be28ca.zip FreeBSD-src-b2ca23d10b8c15411871271dcd7cb50c70be28ca.tar.gz |
MFC r320570:
Correct signatures of several pthreads stubs.
-rw-r--r-- | lib/libc/gen/_pthread_stubs.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/lib/libc/gen/_pthread_stubs.c b/lib/libc/gen/_pthread_stubs.c index bd35bd2..ef504da 100644 --- a/lib/libc/gen/_pthread_stubs.c +++ b/lib/libc/gen/_pthread_stubs.c @@ -271,10 +271,11 @@ STUB_FUNC2(pthread_kill, PJT_KILL, int, void *, int) STUB_FUNC2(pthread_setcancelstate, PJT_SETCANCELSTATE, int, int, void *) STUB_FUNC2(pthread_setcanceltype, PJT_SETCANCELTYPE, int, int, void *) STUB_FUNC(pthread_testcancel, PJT_TESTCANCEL, void) -STUB_FUNC1(__pthread_cleanup_pop_imp, PJT_CLEANUP_POP_IMP, int, int) -STUB_FUNC2(__pthread_cleanup_push_imp, PJT_CLEANUP_PUSH_IMP, void, void*, void *); -STUB_FUNC1(_pthread_cancel_enter, PJT_CANCEL_ENTER, int, int) -STUB_FUNC1(_pthread_cancel_leave, PJT_CANCEL_LEAVE, int, int) +STUB_FUNC1(__pthread_cleanup_pop_imp, PJT_CLEANUP_POP_IMP, void, int) +STUB_FUNC3(__pthread_cleanup_push_imp, PJT_CLEANUP_PUSH_IMP, void, void *, + void *, void *); +STUB_FUNC1(_pthread_cancel_enter, PJT_CANCEL_ENTER, void, int) +STUB_FUNC1(_pthread_cancel_leave, PJT_CANCEL_LEAVE, void, int) static int stub_zero(void) |