summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/librthread/rthread.h4
-rw-r--r--lib/librthread/rthread_sig.c5
2 files changed, 5 insertions, 4 deletions
diff --git a/lib/librthread/rthread.h b/lib/librthread/rthread.h
index 29102eb6ce7..21a8c165365 100644
--- a/lib/librthread/rthread.h
+++ b/lib/librthread/rthread.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: rthread.h,v 1.23 2009/11/27 19:42:24 guenther Exp $ */
+/* $OpenBSD: rthread.h,v 1.24 2009/11/27 19:43:55 guenther Exp $ */
/*
* Copyright (c) 2004,2005 Ted Unangst <tedu@openbsd.org>
* All Rights Reserved.
@@ -169,4 +169,4 @@ void threxit(pid_t *);
int thrsleep(void *, int, void *);
int thrwakeup(void *, int n);
int sched_yield(void);
-int thrsigdivert(sigset_t);
+int thrsigdivert(sigset_t, siginfo_t *, const struct timespec *);
diff --git a/lib/librthread/rthread_sig.c b/lib/librthread/rthread_sig.c
index 1437e2a0c97..392e20c43e9 100644
--- a/lib/librthread/rthread_sig.c
+++ b/lib/librthread/rthread_sig.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rthread_sig.c,v 1.7 2009/02/20 02:38:57 guenther Exp $ */
+/* $OpenBSD: rthread_sig.c,v 1.8 2009/11/27 19:43:55 guenther Exp $ */
/*
* Copyright (c) 2005 Ted Unangst <tedu@openbsd.org>
* All Rights Reserved.
@@ -47,9 +47,10 @@ sigwait(const sigset_t *set, int *sig)
{
int ret;
- ret = thrsigdivert(*set);
+ ret = thrsigdivert(*set, NULL, NULL);
if (ret == -1)
return errno;
*sig = ret;
return 0;
}
+