summaryrefslogtreecommitdiff
path: root/lib/libpthread/man
diff options
context:
space:
mode:
authorBrad Smith <brad@cvs.openbsd.org>2004-02-16 22:48:41 +0000
committerBrad Smith <brad@cvs.openbsd.org>2004-02-16 22:48:41 +0000
commit06f53a9a60706de8c848e3ce7d556f14e26a7d91 (patch)
tree3aeaf2b85311310353c413bb66c7506af3934474 /lib/libpthread/man
parent4482765f257d3757519c0b266a4537bd3feb8c76 (diff)
Add missing const for function parameters to match POSIX.
From: FreeBSD's libc_r ok marc@
Diffstat (limited to 'lib/libpthread/man')
-rw-r--r--lib/libpthread/man/pthread_attr_setstackaddr.34
-rw-r--r--lib/libpthread/man/pthread_attr_setstacksize.34
2 files changed, 4 insertions, 4 deletions
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