diff options
author | David Leonard <d@cvs.openbsd.org> | 1999-03-10 10:00:48 +0000 |
---|---|---|
committer | David Leonard <d@cvs.openbsd.org> | 1999-03-10 10:00:48 +0000 |
commit | 509f671b203b49ca82ec7d5b890e86ab75f638e7 (patch) | |
tree | 71965e2c27dd66fc904e114b7725e2ebcc68e3d5 /lib/libc_r | |
parent | df6a35e6ef978469275c15f590e00a85f9442815 (diff) |
missing const (freebsd)
Diffstat (limited to 'lib/libc_r')
-rw-r--r-- | lib/libc_r/include/pthread.h | 4 | ||||
-rw-r--r-- | lib/libc_r/man/pthread_rwlockattr_getpshared.3 | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/lib/libc_r/include/pthread.h b/lib/libc_r/include/pthread.h index 0c935fabc97..1d997eb7e0b 100644 --- a/lib/libc_r/include/pthread.h +++ b/lib/libc_r/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/libc_r/man/pthread_rwlockattr_getpshared.3 b/lib/libc_r/man/pthread_rwlockattr_getpshared.3 index de98aab2f5f..8baaea662c1 100644 --- a/lib/libc_r/man/pthread_rwlockattr_getpshared.3 +++ b/lib/libc_r/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 |