summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Leonard <d@cvs.openbsd.org>1999-01-10 22:32:24 +0000
committerDavid Leonard <d@cvs.openbsd.org>1999-01-10 22:32:24 +0000
commitc5e08889f91ca9a0a9ab16cd5961d99c7fe75dae (patch)
treef556db2ce9e2778ad8736ba043dd3c8343447285
parent0bb867118d83f6423874cc29ad8288605b347f85 (diff)
fix proto
-rw-r--r--lib/libc_r/uthread/pthread_private.h5
-rw-r--r--lib/libpthread/uthread/pthread_private.h5
2 files changed, 6 insertions, 4 deletions
diff --git a/lib/libc_r/uthread/pthread_private.h b/lib/libc_r/uthread/pthread_private.h
index d3b3fead2bd..28cfcfa7ae7 100644
--- a/lib/libc_r/uthread/pthread_private.h
+++ b/lib/libc_r/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;
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;