summaryrefslogtreecommitdiffstats
path: root/cpukit/rtems/src/timerserver.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/rtems/src/timerserver.c')
-rw-r--r--cpukit/rtems/src/timerserver.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/cpukit/rtems/src/timerserver.c b/cpukit/rtems/src/timerserver.c
index 00a91e8937..a96b45272e 100644
--- a/cpukit/rtems/src/timerserver.c
+++ b/cpukit/rtems/src/timerserver.c
@@ -147,8 +147,8 @@ rtems_status_code rtems_timer_initiate_server(
rtems_id id;
rtems_status_code status;
rtems_task_priority _priority;
- static boolean initialized = FALSE;
- boolean tmpInitialized;
+ static bool initialized = false;
+ bool tmpInitialized;
/*
* Make sure the requested priority is valid. The if is
@@ -169,7 +169,7 @@ rtems_status_code rtems_timer_initiate_server(
_Thread_Disable_dispatch();
tmpInitialized = initialized;
- initialized = TRUE;
+ initialized = true;
_Thread_Enable_dispatch();
if ( tmpInitialized )
@@ -201,7 +201,7 @@ rtems_status_code rtems_timer_initiate_server(
&id /* get the id back */
);
if (status) {
- initialized = FALSE;
+ initialized = false;
return status;
}
@@ -254,7 +254,7 @@ rtems_status_code rtems_timer_initiate_server(
* be good. If this service fails, something is weirdly wrong on the
* target such as a stray write in an ISR or incorrect memory layout.
*/
- initialized = FALSE;
+ initialized = false;
}
return status;