summaryrefslogtreecommitdiffstats
path: root/cpukit/posix/src/pthreadonce.c
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2009-02-03 10:10:57 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2009-02-03 10:10:57 +0000
commitb1dbfd724bf418ad997d72c68d3683589b53d2d5 (patch)
treef57b43a51d2d32a576577f544a0a4254b1462b9f /cpukit/posix/src/pthreadonce.c
parent2009-02-03 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-b1dbfd724bf418ad997d72c68d3683589b53d2d5.tar.bz2
Eliminate TRUE/FALSE.
Diffstat (limited to 'cpukit/posix/src/pthreadonce.c')
-rw-r--r--cpukit/posix/src/pthreadonce.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/posix/src/pthreadonce.c b/cpukit/posix/src/pthreadonce.c
index b1371c8def..8e4a9dc6d8 100644
--- a/cpukit/posix/src/pthreadonce.c
+++ b/cpukit/posix/src/pthreadonce.c
@@ -34,8 +34,8 @@ int pthread_once(
rtems_mode saveMode;
rtems_task_mode(RTEMS_NO_PREEMPT, RTEMS_PREEMPT_MASK, &saveMode);
if ( !once_control->init_executed ) {
- once_control->is_initialized = TRUE;
- once_control->init_executed = TRUE;
+ once_control->is_initialized = true;
+ once_control->init_executed = true;
(*init_routine)();
}
rtems_task_mode(saveMode, RTEMS_PREEMPT_MASK, &saveMode);