Changeset 6cd05d2 in rtems


Ignore:
Timestamp:
Mar 30, 2004, 3:23:50 PM (16 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
e0f75b1
Parents:
6855663
Message:

2004-03-30 Ralf Corsepius <ralf_corsepius@…>

  • rtems/include/rtems/rtems/region.h: Include stddef.h for size_t. (rtems_region_get_segment_size): Use size_t instead of uint32_t for "size" (3rd arg).
  • rtems/src/regiongetsegmentsize.c: Reflect changes above.
  • libcsupport/src/malloc.c: Reflect changes above.
Location:
cpukit
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • cpukit/ChangeLog

    r6855663 r6cd05d2  
     12004-03-30      Ralf Corsepius <ralf_corsepius@rtems.org>
     2
     3        * rtems/include/rtems/rtems/region.h:
     4        Include stddef.h for size_t.
     5        (rtems_region_get_segment_size):  Use size_t instead of uint32_t for "size" (3rd arg).
     6        * rtems/src/regiongetsegmentsize.c: Reflect changes above.
     7        * libcsupport/src/malloc.c: Reflect changes above.
     8
    192004-03-30      Ralf Corsepius <ralf_corsepius@rtems.org>
    210
  • cpukit/libcsupport/src/malloc.c

    r6855663 r6cd05d2  
    246246  if (return_this)
    247247  {
    248       uint32_t   actual_size;
     248      size_t     actual_size;
    249249      uint32_t   current_depth;
    250250      status = rtems_region_get_segment_size(
     
    370370#ifdef MALLOC_STATS
    371371  {
    372       uint32_t          size;
     372      size_t size;
    373373      status = rtems_region_get_segment_size( RTEMS_Malloc_Heap, ptr, &size );
    374374      if ( status == RTEMS_SUCCESSFUL ) {
  • cpukit/rtems/include/rtems/rtems/region.h

    r6855663 r6cd05d2  
    2929extern "C" {
    3030#endif
     31
     32#include <stddef.h>
    3133
    3234#include <rtems/score/object.h>
     
    191193  Objects_Id         id,
    192194  void              *segment,
    193   uint32_t          *size
     195  size_t            *size
    194196);
    195197
  • cpukit/rtems/src/regiongetsegmentsize.c

    r6855663 r6cd05d2  
    4343  Objects_Id         id,
    4444  void              *segment,
    45   uint32_t          *size
     45  size_t            *size
    4646)
    4747{
Note: See TracChangeset for help on using the changeset viewer.