summaryrefslogtreecommitdiffstats
path: root/lib/libpthread
diff options
context:
space:
mode:
authorkurt <kurt@openbsd.org>2007-04-27 20:44:43 +0000
committerkurt <kurt@openbsd.org>2007-04-27 20:44:43 +0000
commite76bbb49caf05754bf56d761c1f5a248d28dd462 (patch)
tree2347741db1a6b5b7c11d52ca0d918230494e92f0 /lib/libpthread
parentupdate a comment to reflect the truth - the documentation that is (diff)
downloadwireguard-openbsd-e76bbb49caf05754bf56d761c1f5a248d28dd462.tar.xz
wireguard-openbsd-e76bbb49caf05754bf56d761c1f5a248d28dd462.zip
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;