diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2008-09-04 17:46:39 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2008-09-04 17:46:39 +0000 |
commit | 484a76996eeb65ad726b65946642516c70b3257b (patch) | |
tree | 6aed4eba45d4eb704f004622ecbf63e275bb876c /cpukit/score/include/rtems/score/coremsg.h | |
parent | 2008-09-04 Ralf Corsépius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-484a76996eeb65ad726b65946642516c70b3257b.tar.bz2 |
Convert to "bool".
Diffstat (limited to 'cpukit/score/include/rtems/score/coremsg.h')
-rw-r--r-- | cpukit/score/include/rtems/score/coremsg.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/cpukit/score/include/rtems/score/coremsg.h b/cpukit/score/include/rtems/score/coremsg.h index f34eecee50..74a9c2beea 100644 --- a/cpukit/score/include/rtems/score/coremsg.h +++ b/cpukit/score/include/rtems/score/coremsg.h @@ -27,16 +27,16 @@ */ /**@{*/ -#ifdef __cplusplus -extern "C" { -#endif - #include <limits.h> #include <rtems/score/thread.h> #include <rtems/score/threadq.h> #include <rtems/score/priority.h> #include <rtems/score/watchdog.h> +#ifdef __cplusplus +extern "C" { +#endif + /** * @brief Message Queue MP Callback Prototype * @@ -240,7 +240,7 @@ typedef struct { * FALSE will only be returned if memory for the pending * messages cannot be allocated. */ -boolean _CORE_message_queue_Initialize( +bool _CORE_message_queue_Initialize( CORE_message_queue_Control *the_message_queue, CORE_message_queue_Attributes *the_message_queue_attributes, uint32_t maximum_pending_messages, @@ -365,7 +365,7 @@ CORE_message_queue_Status _CORE_message_queue_Submit( Objects_Id id, CORE_message_queue_API_mp_support_callout api_message_queue_mp_support, CORE_message_queue_Submit_types submit_type, - boolean wait, + bool wait, Watchdog_Interval timeout ); @@ -397,7 +397,7 @@ void _CORE_message_queue_Seize( Objects_Id id, void *buffer, size_t *size_p, - boolean wait, + bool wait, Watchdog_Interval timeout ); |