summaryrefslogtreecommitdiffstats
path: root/lib/librthread/rthread.c
diff options
context:
space:
mode:
authorbrad <brad@openbsd.org>2005-12-19 15:41:00 +0000
committerbrad <brad@openbsd.org>2005-12-19 15:41:00 +0000
commitf236048d759913c519adee4565a137636246bbf0 (patch)
treebf7b7d2f5c1c913e8693aa05bbd50ddb1cd25310 /lib/librthread/rthread.c
parentAdd and use a few more constants and macros needed by UFS2 (diff)
downloadwireguard-openbsd-f236048d759913c519adee4565a137636246bbf0.tar.xz
wireguard-openbsd-f236048d759913c519adee4565a137636246bbf0.zip
fix rev 1.9
pthread_concurrency -> pthread_setconcurrency
Diffstat (limited to 'lib/librthread/rthread.c')
-rw-r--r--lib/librthread/rthread.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/librthread/rthread.c b/lib/librthread/rthread.c
index 9ae259324b1..43c88a82455 100644
--- a/lib/librthread/rthread.c
+++ b/lib/librthread/rthread.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rthread.c,v 1.10 2005/12/19 06:47:40 tedu Exp $ */
+/* $OpenBSD: rthread.c,v 1.11 2005/12/19 15:41:00 brad Exp $ */
/*
* Copyright (c) 2004,2005 Ted Unangst <tedu@openbsd.org>
* All Rights Reserved.
@@ -334,7 +334,7 @@ pthread_getconcurrency(void)
}
int
-pthread_concurrency(int new_level)
+pthread_setconcurrency(int new_level)
{
if (new_level < 0)
return (EINVAL);