Changeset 6c66bbb in rtems for cpukit/include/rtems/malloc.h


Ignore:
Timestamp:
Apr 20, 2021, 7:58:06 AM (4 months ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
51defd92
Parents:
d8a5e14
git-author:
Sebastian Huber <sebastian.huber@…> (04/20/21 07:58:06)
git-committer:
Sebastian Huber <sebastian.huber@…> (04/20/21 17:18:23)
Message:

malloc: Hide RTEMS_Malloc_Sbrk_amount

Move RTEMS_Malloc_Sbrk_amount to the only implementation file which uses
it and make it private to hide implementation-details from an API
header.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/include/rtems/malloc.h

    rd8a5e14 r6c66bbb  
    4949);
    5050
    51 extern ptrdiff_t RTEMS_Malloc_Sbrk_amount;
    52 
    53 static inline void rtems_heap_set_sbrk_amount( ptrdiff_t sbrk_amount )
    54 {
    55   RTEMS_Malloc_Sbrk_amount = sbrk_amount;
    56 }
     51void rtems_heap_set_sbrk_amount( ptrdiff_t sbrk_amount );
    5752
    5853typedef void *(*rtems_heap_extend_handler)(
Note: See TracChangeset for help on using the changeset viewer.