summaryrefslogtreecommitdiffstats
path: root/lib/libpthread
diff options
context:
space:
mode:
authord <d@openbsd.org>1999-01-10 22:32:23 +0000
committerd <d@openbsd.org>1999-01-10 22:32:23 +0000
commitf01a4a896520c06e063f1e070336cf74bc94990b (patch)
treeb054c0ce2181cb6ceaebacdf4a0e471b286b81f7 /lib/libpthread
parentAdd vr driver (diff)
downloadwireguard-openbsd-f01a4a896520c06e063f1e070336cf74bc94990b.tar.xz
wireguard-openbsd-f01a4a896520c06e063f1e070336cf74bc94990b.zip
fix proto
Diffstat (limited to 'lib/libpthread')
-rw-r--r--lib/libpthread/uthread/pthread_private.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/libpthread/uthread/pthread_private.h b/lib/libpthread/uthread/pthread_private.h
index d3b3fead2bd..28cfcfa7ae7 100644
--- a/lib/libpthread/uthread/pthread_private.h
+++ b/lib/libpthread/uthread/pthread_private.h
@@ -31,7 +31,7 @@
*
* Private thread definitions for the uthread kernel.
*
- * $OpenBSD: pthread_private.h,v 1.9 1999/01/08 05:44:53 d Exp $
+ * $OpenBSD: pthread_private.h,v 1.10 1999/01/10 22:32:23 d Exp $
*
*/
@@ -462,7 +462,8 @@ struct pthread {
*/
/* Kernel thread structure used when there are no running threads: */
-extern struct pthread * volatile _thread_kern_thread;
+extern struct pthread volatile _thread_kern_thread;
+extern struct pthread * volatile _thread_kern_threadp;
/* Ptr to the thread structure for the running thread: */
extern struct pthread * volatile _thread_run;