summaryrefslogtreecommitdiff
path: root/lib/libpthread
diff options
context:
space:
mode:
authorKurt Miller <kurt@cvs.openbsd.org>2007-04-27 20:44:44 +0000
committerKurt Miller <kurt@cvs.openbsd.org>2007-04-27 20:44:44 +0000
commit3de77b8e2b219c73c4c34d15f0bc26a3963a7fea (patch)
tree18953cf7a488ec1257895af2e9ee220992589fd9 /lib/libpthread
parent0a2ebe4205ae72a8a294a1fd250e1ec756c79d08 (diff)
more lint warning reductions. use int for all priority vars. okay marc@
Diffstat (limited to 'lib/libpthread')
-rw-r--r--lib/libpthread/uthread/pthread_private.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libpthread/uthread/pthread_private.h b/lib/libpthread/uthread/pthread_private.h
index 21e2431b330..ec74d094fd9 100644
--- a/lib/libpthread/uthread/pthread_private.h
+++ b/lib/libpthread/uthread/pthread_private.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: pthread_private.h,v 1.63 2007/04/27 19:40:08 kurt Exp $ */
+/* $OpenBSD: pthread_private.h,v 1.64 2007/04/27 20:44:43 kurt Exp $ */
/*
* Copyright (c) 1995-1998 John Birrell <jb@cimlogic.com.au>.
* All rights reserved.
@@ -782,7 +782,7 @@ struct pthread {
* set thread priority and upon thread creation via a thread
* attribute or default priority.
*/
- char base_priority;
+ int base_priority;
/*
* Inherited priority is the priority a thread inherits by
@@ -792,7 +792,7 @@ struct pthread {
* that is being waited on by any other thread whose priority
* is non-zero.
*/
- char inherited_priority;
+ int inherited_priority;
/*
* Active priority is always the maximum of the threads base
@@ -800,7 +800,7 @@ struct pthread {
* in either the base or inherited priority, the active
* priority must be recalculated.
*/
- char active_priority;
+ int active_priority;
/* Number of priority ceiling or protection mutexes owned. */
int priority_mutex_count;