Changeset 9929e2d in rtems


Ignore:
Timestamp:
Oct 29, 2004, 10:38:40 AM (15 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
db1431e9
Parents:
0f9ff459
Message:

2004-10-29 Ralf Corsepius <ralf_corsepius@…>

  • 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.
Location:
cpukit
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • cpukit/ChangeLog

    r0f9ff459 r9929e2d  
     12004-10-29      Ralf Corsepius <ralf_corsepius@rtems.org>
     2
     3        * score/src/coremsg.c: Eliminate unsigned32.
     4        * score/include/rtems/system.h: Set __RTEMS_REVISION__ to 99.
     5        * librpc/include/rpc/xdr.h: Use elipsis in xdrproc_t prototype.
     6
    172004-10-28      Ralf Corsepius <ralf_corsepius@rtems.org>
    28
  • cpukit/librpc/include/rpc/xdr.h

    r0f9ff459 r9929e2d  
    136136 * XXX can't actually prototype it, because some take two args!!!
    137137 */
    138 typedef bool_t (*xdrproc_t) __P((/* XDR *, void *, u_int */));
     138typedef bool_t (*xdrproc_t) (XDR *, void *, ...);
    139139#endif
    140140
  • cpukit/score/include/rtems/system.h

    r0f9ff459 r9929e2d  
    2828#define __RTEMS_MAJOR__ 4
    2929#define __RTEMS_MINOR__ 6
    30 #define __RTEMS_REVISION__ 0
     30#define __RTEMS_REVISION__ 99
    3131
    3232/*
  • cpukit/score/src/coremsg.c

    r0f9ff459 r9929e2d  
    5252  CORE_message_queue_Control    *the_message_queue,
    5353  CORE_message_queue_Attributes *the_message_queue_attributes,
    54   unsigned32                     maximum_pending_messages,
    55   unsigned32                     maximum_message_size
     54  uint32_t                     maximum_pending_messages,
     55  uint32_t                     maximum_message_size
    5656)
    5757{
    58   unsigned32 message_buffering_required;
    59   unsigned32 allocated_message_size;
     58  uint32_t message_buffering_required;
     59  uint32_t allocated_message_size;
    6060
    6161  the_message_queue->maximum_pending_messages   = maximum_pending_messages;
     
    7070 
    7171  allocated_message_size = maximum_message_size;
    72   if (allocated_message_size & (sizeof(unsigned32) - 1)) {
    73       allocated_message_size += sizeof(unsigned32);
    74       allocated_message_size &= ~(sizeof(unsigned32) - 1);
     72  if (allocated_message_size & (sizeof(uint32_t) - 1)) {
     73      allocated_message_size += sizeof(uint32_t);
     74      allocated_message_size &= ~(sizeof(uint32_t) - 1);
    7575  }
    7676   
Note: See TracChangeset for help on using the changeset viewer.