diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2004-03-30 15:23:50 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2004-03-30 15:23:50 +0000 |
commit | 6cd05d2aa247f5bd53e02377ec5dab3aa5aaf852 (patch) | |
tree | 0e6b1eb08851630794f9b9f7231fae623e2336d7 /cpukit/rtems/include/rtems | |
parent | 2004-03-30 Ralf Corsepius <ralf_corsepius@rtems.org> (diff) | |
download | rtems-6cd05d2aa247f5bd53e02377ec5dab3aa5aaf852.tar.bz2 |
2004-03-30 Ralf Corsepius <ralf_corsepius@rtems.org>
* 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.
Diffstat (limited to 'cpukit/rtems/include/rtems')
-rw-r--r-- | cpukit/rtems/include/rtems/rtems/region.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/cpukit/rtems/include/rtems/rtems/region.h b/cpukit/rtems/include/rtems/rtems/region.h index 780ca6af83..c3e5febd32 100644 --- a/cpukit/rtems/include/rtems/rtems/region.h +++ b/cpukit/rtems/include/rtems/rtems/region.h @@ -29,6 +29,8 @@ extern "C" { #endif +#include <stddef.h> + #include <rtems/score/object.h> #include <rtems/score/threadq.h> #include <rtems/score/heap.h> @@ -190,7 +192,7 @@ rtems_status_code rtems_region_get_segment( rtems_status_code rtems_region_get_segment_size( Objects_Id id, void *segment, - uint32_t *size + size_t *size ); /* |