summaryrefslogtreecommitdiffstats
path: root/cpukit/rtems/inline/rtems/rtems/options.inl
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/rtems/inline/rtems/rtems/options.inl')
-rw-r--r--cpukit/rtems/inline/rtems/rtems/options.inl8
1 files changed, 4 insertions, 4 deletions
diff --git a/cpukit/rtems/inline/rtems/rtems/options.inl b/cpukit/rtems/inline/rtems/rtems/options.inl
index d079a50a44..fd8c3ba234 100644
--- a/cpukit/rtems/inline/rtems/rtems/options.inl
+++ b/cpukit/rtems/inline/rtems/rtems/options.inl
@@ -33,11 +33,11 @@
* This function returns TRUE if the RTEMS_NO_WAIT option is enabled in
* option_set, and FALSE otherwise.
*/
-RTEMS_INLINE_ROUTINE boolean _Options_Is_no_wait (
+RTEMS_INLINE_ROUTINE bool _Options_Is_no_wait (
rtems_option option_set
)
{
- return (option_set & RTEMS_NO_WAIT);
+ return (option_set & RTEMS_NO_WAIT) ? true : false;
}
/**
@@ -46,11 +46,11 @@ RTEMS_INLINE_ROUTINE boolean _Options_Is_no_wait (
* This function returns TRUE if the RTEMS_EVENT_ANY option is enabled in
* OPTION_SET, and FALSE otherwise.
*/
-RTEMS_INLINE_ROUTINE boolean _Options_Is_any (
+RTEMS_INLINE_ROUTINE bool _Options_Is_any (
rtems_option option_set
)
{
- return (option_set & RTEMS_EVENT_ANY);
+ return (option_set & RTEMS_EVENT_ANY) ? true : false;
}
/**@}*/