summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/libpthread/include/pthread.h6
-rw-r--r--lib/libpthread/man/pthread_attr_setstackaddr.34
-rw-r--r--lib/libpthread/man/pthread_attr_setstacksize.34
-rw-r--r--lib/libpthread/uthread/uthread_attr_getstackaddr.c4
-rw-r--r--lib/libpthread/uthread/uthread_attr_getstacksize.c4
5 files changed, 11 insertions, 11 deletions
diff --git a/lib/libpthread/include/pthread.h b/lib/libpthread/include/pthread.h
index 8861dd966f7..d0fbe78a8b1 100644
--- a/lib/libpthread/include/pthread.h
+++ b/lib/libpthread/include/pthread.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: pthread.h,v 1.19 2004/01/27 21:56:15 brad Exp $ */
+/* $OpenBSD: pthread.h,v 1.20 2004/02/16 22:48:40 brad Exp $ */
/*
* Copyright (c) 1993, 1994 by Chris Provenzano, proven@mit.edu
@@ -205,8 +205,8 @@ enum pthread_mutextype {
*/
__BEGIN_DECLS
int pthread_attr_destroy(pthread_attr_t *);
-int pthread_attr_getstacksize(pthread_attr_t *, size_t *);
-int pthread_attr_getstackaddr(pthread_attr_t *, void **);
+int pthread_attr_getstacksize(const pthread_attr_t *, size_t *);
+int pthread_attr_getstackaddr(const pthread_attr_t *, void **);
int pthread_attr_getdetachstate(const pthread_attr_t *, int *);
int pthread_attr_init(pthread_attr_t *);
int pthread_attr_setstacksize(pthread_attr_t *, size_t);
diff --git a/lib/libpthread/man/pthread_attr_setstackaddr.3 b/lib/libpthread/man/pthread_attr_setstackaddr.3
index cc56bbb0bd5..5853bd57c59 100644
--- a/lib/libpthread/man/pthread_attr_setstackaddr.3
+++ b/lib/libpthread/man/pthread_attr_setstackaddr.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: pthread_attr_setstackaddr.3,v 1.6 2003/05/08 09:01:15 jmc Exp $
+.\" $OpenBSD: pthread_attr_setstackaddr.3,v 1.7 2004/02/16 22:48:40 brad Exp $
.\" Manual page derived from TOG's UNIX98 documentation.
.\"
.\" David Leonard, 2000. Public Domain.
@@ -15,7 +15,7 @@
.Ft int
.Fn pthread_attr_setstackaddr "pthread_attr_t *attr" "void *stackaddr"
.Ft int
-.Fn pthread_attr_getstackaddr "pthread_attr_t *attr" "void **stackaddr"
+.Fn pthread_attr_getstackaddr "const pthread_attr_t *attr" "void **stackaddr"
.Sh DESCRIPTION
The functions
.Fn pthread_attr_setstackaddr
diff --git a/lib/libpthread/man/pthread_attr_setstacksize.3 b/lib/libpthread/man/pthread_attr_setstacksize.3
index b38ef3f769f..263a1aacd7a 100644
--- a/lib/libpthread/man/pthread_attr_setstacksize.3
+++ b/lib/libpthread/man/pthread_attr_setstacksize.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: pthread_attr_setstacksize.3,v 1.5 2003/05/08 09:01:15 jmc Exp $
+.\" $OpenBSD: pthread_attr_setstacksize.3,v 1.6 2004/02/16 22:48:40 brad Exp $
.\" Manual page derived from TOG's UNIX98 documentation.
.\"
.\" David Leonard, 2000. Public Domain.
@@ -15,7 +15,7 @@
.Ft int
.Fn pthread_attr_setstacksize "pthread_attr_t *attr" "size_t stacksize"
.Ft int
-.Fn pthread_attr_getstacksize "pthread_attr_t *attr" "size_t *stacksize"
+.Fn pthread_attr_getstacksize "const pthread_attr_t *attr" "size_t *stacksize"
.Sh DESCRIPTION
The functions
.Fn pthread_attr_setstacksize
diff --git a/lib/libpthread/uthread/uthread_attr_getstackaddr.c b/lib/libpthread/uthread/uthread_attr_getstackaddr.c
index b2a330f5a64..295a6ee68fa 100644
--- a/lib/libpthread/uthread/uthread_attr_getstackaddr.c
+++ b/lib/libpthread/uthread/uthread_attr_getstackaddr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uthread_attr_getstackaddr.c,v 1.4 2002/11/07 02:56:20 marc Exp $ */
+/* $OpenBSD: uthread_attr_getstackaddr.c,v 1.5 2004/02/16 22:48:40 brad Exp $ */
/*
* Copyright (c) 1997 John Birrell <jb@cimlogic.com.au>.
* All rights reserved.
@@ -38,7 +38,7 @@
#include "pthread_private.h"
int
-pthread_attr_getstackaddr(pthread_attr_t *attr, void **stackaddr)
+pthread_attr_getstackaddr(const pthread_attr_t *attr, void **stackaddr)
{
int ret;
diff --git a/lib/libpthread/uthread/uthread_attr_getstacksize.c b/lib/libpthread/uthread/uthread_attr_getstacksize.c
index f58a0bf5d15..ea9a3b64385 100644
--- a/lib/libpthread/uthread/uthread_attr_getstacksize.c
+++ b/lib/libpthread/uthread/uthread_attr_getstacksize.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uthread_attr_getstacksize.c,v 1.4 2002/11/07 02:56:20 marc Exp $ */
+/* $OpenBSD: uthread_attr_getstacksize.c,v 1.5 2004/02/16 22:48:40 brad Exp $ */
/*
* Copyright (c) 1997 John Birrell <jb@cimlogic.com.au>.
* All rights reserved.
@@ -38,7 +38,7 @@
#include "pthread_private.h"
int
-pthread_attr_getstacksize(pthread_attr_t *attr, size_t *stacksize)
+pthread_attr_getstacksize(const pthread_attr_t *attr, size_t *stacksize)
{
int ret;