summaryrefslogtreecommitdiffstats
path: root/lib/libpthread
diff options
context:
space:
mode:
authord <d@openbsd.org>1999-03-10 10:00:47 +0000
committerd <d@openbsd.org>1999-03-10 10:00:47 +0000
commit0577948c8c7b3e137970b0c970c127b2e89770ca (patch)
treec1d61da8ec217a77420f65c3a543bf91c32a73f8 /lib/libpthread
parentno need to save signal state in setjmp/longjmp - it will always be the same, so we may as well save a few syscalls (diff)
downloadwireguard-openbsd-0577948c8c7b3e137970b0c970c127b2e89770ca.tar.xz
wireguard-openbsd-0577948c8c7b3e137970b0c970c127b2e89770ca.zip
missing const (freebsd)
Diffstat (limited to 'lib/libpthread')
-rw-r--r--lib/libpthread/include/pthread.h4
-rw-r--r--lib/libpthread/man/pthread_rwlockattr_getpshared.36
2 files changed, 5 insertions, 5 deletions
diff --git a/lib/libpthread/include/pthread.h b/lib/libpthread/include/pthread.h
index 0c935fabc97..1d997eb7e0b 100644
--- a/lib/libpthread/include/pthread.h
+++ b/lib/libpthread/include/pthread.h
@@ -30,7 +30,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $OpenBSD: pthread.h,v 1.5 1999/01/18 00:00:31 d Exp $
+ * $OpenBSD: pthread.h,v 1.6 1999/03/10 10:00:47 d Exp $
*
*/
#ifndef _PTHREAD_H_
@@ -208,7 +208,7 @@ void pthread_cleanup_push __P((void (*routine) (void *),
void *routine_arg));
int pthread_condattr_destroy __P((pthread_condattr_t *attr));
int pthread_condattr_init __P((pthread_condattr_t *attr));
-int pthread_condattr_getpshared __P((pthread_condattr_t *attr,
+int pthread_condattr_getpshared __P((const pthread_condattr_t *attr,
int *pshared));
int pthread_condattr_setpshared __P((pthread_condattr_t *attr,
int pshared));
diff --git a/lib/libpthread/man/pthread_rwlockattr_getpshared.3 b/lib/libpthread/man/pthread_rwlockattr_getpshared.3
index de98aab2f5f..8baaea662c1 100644
--- a/lib/libpthread/man/pthread_rwlockattr_getpshared.3
+++ b/lib/libpthread/man/pthread_rwlockattr_getpshared.3
@@ -22,8 +22,8 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" $Id: pthread_rwlockattr_getpshared.3,v 1.1 1998/11/09 03:13:16 d Exp $
-.\" $OpenBSD: pthread_rwlockattr_getpshared.3,v 1.1 1998/11/09 03:13:16 d Exp $
+.\" $Id: pthread_rwlockattr_getpshared.3,v 1.2 1999/03/10 10:00:47 d Exp $
+.\" $OpenBSD: pthread_rwlockattr_getpshared.3,v 1.2 1999/03/10 10:00:47 d Exp $
.\"
.Dd August 4, 1998
.Dt PTHREAD_RWLOCKATTR_GETPSHARED 3
@@ -34,7 +34,7 @@
.Sh SYNOPSIS
.Fd #include <pthread.h>
.Ft int
-.Fn pthread_rwlockattr_getpshared "pthread_rwlockattr_t *attr" "int *pshared"
+.Fn pthread_rwlockattr_getpshared "const pthread_rwlockattr_t *attr" "int *pshared"
.Sh DESCRIPTION
The
.Fn pthread_rwlockattr_getpshared