summaryrefslogtreecommitdiffstats
path: root/cpukit/rtems/inline/rtems/rtems/options.inl
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2008-09-04 17:46:39 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2008-09-04 17:46:39 +0000
commit484a76996eeb65ad726b65946642516c70b3257b (patch)
tree6aed4eba45d4eb704f004622ecbf63e275bb876c /cpukit/rtems/inline/rtems/rtems/options.inl
parent2008-09-04 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-484a76996eeb65ad726b65946642516c70b3257b.tar.bz2
Convert to "bool".
Diffstat (limited to '')
-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;
}
/**@}*/