diff options
author | 2004-02-16 22:48:40 +0000 | |
---|---|---|
committer | 2004-02-16 22:48:40 +0000 | |
commit | 6ae9c70256b071ed7111c316dbd79c1b3e414c34 (patch) | |
tree | 7be55c7d8ad652412653e2c977ed6f3f95314b32 /lib/libpthread/include/pthread.h | |
parent | If the user does "chown foo.bar" check to see if foo.bar is a username (diff) | |
download | wireguard-openbsd-6ae9c70256b071ed7111c316dbd79c1b3e414c34.tar.xz wireguard-openbsd-6ae9c70256b071ed7111c316dbd79c1b3e414c34.zip |
Add missing const for function parameters to match POSIX.
From: FreeBSD's libc_r
ok marc@
Diffstat (limited to 'lib/libpthread/include/pthread.h')
-rw-r--r-- | lib/libpthread/include/pthread.h | 6 |
1 files changed, 3 insertions, 3 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); |