summaryrefslogtreecommitdiff
path: root/pthread/pt-internal.h
diff options
context:
space:
mode:
authorNeal H. Walfield <neal@gnu.org>2008-06-07 15:23:00 +0000
committerNeal H. Walfield <neal@gnu.org>2008-06-07 15:23:00 +0000
commit9830b3b2eb53aa7ad2eeb4cc11fbb44ba323cf4e (patch)
tree921e8744dc9aae1f2dbf182a8af6f815e32c55d4 /pthread/pt-internal.h
parent542a455d6c2da2eac68f9c4f45604af85008443a (diff)
2008-06-07 Neal H. Walfield <neal@gnu.org>
* pthread/pt-internal.h (__pthread_queue_iterate): Use 1, not true. (__pthread_dequeuing_iterate): Likewise.
Diffstat (limited to 'pthread/pt-internal.h')
-rw-r--r--pthread/pt-internal.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/pthread/pt-internal.h b/pthread/pt-internal.h
index 5583dfc..d9bf7bc 100644
--- a/pthread/pt-internal.h
+++ b/pthread/pt-internal.h
@@ -118,7 +118,7 @@ __pthread_dequeue (struct __pthread *thread)
for (struct __pthread *__pdi_next = (queue); \
((element) = __pdi_next) \
&& ((__pdi_next = __pdi_next->next), \
- true); \
+ 1); \
)
/* Iterate over QUEUE dequeuing each element, storing it in
@@ -128,7 +128,7 @@ __pthread_dequeue (struct __pthread *thread)
((element) = __pdi_next) \
&& ((__pdi_next = __pdi_next->next), \
((element)->prevp = 0), \
- true); \
+ 1); \
)
/* The total number of threads currently active. */