summaryrefslogtreecommitdiffstats
path: root/lib/libpthread/include/pthread.h
diff options
context:
space:
mode:
authoralex <alex@openbsd.org>2000-01-04 22:34:23 +0000
committeralex <alex@openbsd.org>2000-01-04 22:34:23 +0000
commit0c8be47ee7380c9e96b8c871c2b7c03484e56fd2 (patch)
tree16adfccd9ee71eaf57ef45c56cee80f7b43aff47 /lib/libpthread/include/pthread.h
parentIf SIOCSIFADDR fails, put back the old address before calling splx(). (diff)
downloadwireguard-openbsd-0c8be47ee7380c9e96b8c871c2b7c03484e56fd2.tar.xz
wireguard-openbsd-0c8be47ee7380c9e96b8c871c2b7c03484e56fd2.zip
Fix incorrect `pshared' argument type for pthread_rwlockattr_setpshared.
rse@engelschall.com via FreeBSD.
Diffstat (limited to 'lib/libpthread/include/pthread.h')
-rw-r--r--lib/libpthread/include/pthread.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libpthread/include/pthread.h b/lib/libpthread/include/pthread.h
index d94bbe8173f..7940c9d5b63 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.9 1999/11/25 07:01:29 d Exp $
+ * $OpenBSD: pthread.h,v 1.10 2000/01/04 22:34:23 alex Exp $
*
* $FreeBSD: pthread.h,v 1.13 1999/07/31 08:36:07 rse Exp $
*/
@@ -269,7 +269,7 @@ int pthread_rwlockattr_init __P((pthread_rwlockattr_t *));
int pthread_rwlockattr_getpshared __P((const pthread_rwlockattr_t *,
int *));
int pthread_rwlockattr_setpshared __P((pthread_rwlockattr_t *,
- int *));
+ int));
int pthread_rwlockattr_destroy __P((pthread_rwlockattr_t *));
pthread_t pthread_self __P((void));
int pthread_setspecific __P((pthread_key_t, const void *));