diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2004-10-29 10:38:40 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2004-10-29 10:38:40 +0000 |
commit | 9929e2d2316d03196d4aad2b5fb0ffe6abb884e1 (patch) | |
tree | 0fc2bad9916ffb8168d9c353d647c8299b3cbf13 /cpukit/score/src/coremsg.c | |
parent | 2004-10-28 Ralf Corsepius <ralf_corsepius@rtems.org> (diff) | |
download | rtems-9929e2d2316d03196d4aad2b5fb0ffe6abb884e1.tar.bz2 |
2004-10-29 Ralf Corsepius <ralf_corsepius@rtems.org>
* score/src/coremsg.c: Eliminate unsigned32.
* score/include/rtems/system.h: Set __RTEMS_REVISION__ to 99.
* librpc/include/rpc/xdr.h: Use elipsis in xdrproc_t prototype.
Diffstat (limited to 'cpukit/score/src/coremsg.c')
-rw-r--r-- | cpukit/score/src/coremsg.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/cpukit/score/src/coremsg.c b/cpukit/score/src/coremsg.c index 120e03e360..94098e0b96 100644 --- a/cpukit/score/src/coremsg.c +++ b/cpukit/score/src/coremsg.c @@ -51,12 +51,12 @@ boolean _CORE_message_queue_Initialize( CORE_message_queue_Control *the_message_queue, CORE_message_queue_Attributes *the_message_queue_attributes, - unsigned32 maximum_pending_messages, - unsigned32 maximum_message_size + uint32_t maximum_pending_messages, + uint32_t maximum_message_size ) { - unsigned32 message_buffering_required; - unsigned32 allocated_message_size; + uint32_t message_buffering_required; + uint32_t allocated_message_size; the_message_queue->maximum_pending_messages = maximum_pending_messages; the_message_queue->number_of_pending_messages = 0; @@ -69,9 +69,9 @@ boolean _CORE_message_queue_Initialize( */ allocated_message_size = maximum_message_size; - if (allocated_message_size & (sizeof(unsigned32) - 1)) { - allocated_message_size += sizeof(unsigned32); - allocated_message_size &= ~(sizeof(unsigned32) - 1); + if (allocated_message_size & (sizeof(uint32_t) - 1)) { + allocated_message_size += sizeof(uint32_t); + allocated_message_size &= ~(sizeof(uint32_t) - 1); } if (allocated_message_size < maximum_message_size) |