summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2017-07-09 03:54:10 +0000
committerkib <kib@FreeBSD.org>2017-07-09 03:54:10 +0000
commit844c7c2b9a5604395922e6019937cacba4d09db8 (patch)
treed5f429194f831fdc34afe203bfe04bf06226a4b9 /lib/libc
parent379b4fcb4ffcb7cf324df368e4e3f2a250b3cfea (diff)
downloadFreeBSD-src-844c7c2b9a5604395922e6019937cacba4d09db8.zip
FreeBSD-src-844c7c2b9a5604395922e6019937cacba4d09db8.tar.gz
MFC r320570:
Correct signatures of several pthreads stubs.
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/gen/_pthread_stubs.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/lib/libc/gen/_pthread_stubs.c b/lib/libc/gen/_pthread_stubs.c
index 18a2321..fcf7ff0 100644
--- a/lib/libc/gen/_pthread_stubs.c
+++ b/lib/libc/gen/_pthread_stubs.c
@@ -279,10 +279,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)
OpenPOWER on IntegriCloud