summaryrefslogtreecommitdiffstats
path: root/cpukit/libcsupport/src/malloc.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2010-06-30 15:36:48 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2010-06-30 15:36:48 +0000
commit7c658feb2e840582f2564d72c477e7ea0c7d3f76 (patch)
tree5f8c825064e8d5c12c9a9ac7ab6937e38e0850e6 /cpukit/libcsupport/src/malloc.c
parent2010-06-30 Joel Sherrill <joel.sherrilL@OARcorp.com> (diff)
downloadrtems-7c658feb2e840582f2564d72c477e7ea0c7d3f76.tar.bz2
2010-06-30 Joel Sherrill <joel.sherrilL@OARcorp.com>
PR 1472/cpukit * libcsupport/Makefile.am, libcsupport/include/rtems/malloc.h, libcsupport/src/free.c, libcsupport/src/malloc.c, libcsupport/src/malloc_initialize.c, libcsupport/src/realloc.c, libcsupport/src/rtems_memalign.c: Remove malloc boundary code. It has not been used since before 4.6 and is bitrotted. * libcsupport/src/malloc_boundary.c: Removed.
Diffstat (limited to 'cpukit/libcsupport/src/malloc.c')
-rw-r--r--cpukit/libcsupport/src/malloc.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/cpukit/libcsupport/src/malloc.c b/cpukit/libcsupport/src/malloc.c
index ba5c8c0dcf..cf0fd158b4 100644
--- a/cpukit/libcsupport/src/malloc.c
+++ b/cpukit/libcsupport/src/malloc.c
@@ -55,15 +55,6 @@ void *malloc(
_Protected_heap_Walk( RTEMS_Malloc_Heap, 0, false );
#endif
- #if defined(RTEMS_MALLOC_BOUNDARY_HELPERS)
- /*
- * If the support for a boundary area at the end of the heap
- * block allocated is turned on, then adjust the size.
- */
- if (rtems_malloc_boundary_helpers)
- size += (*rtems_malloc_boundary_helpers->overhead)();
- #endif
-
/*
* Try to give a segment in the current heap if there is not
* enough space then try to grow the heap.
@@ -93,14 +84,6 @@ void *malloc(
if ( rtems_malloc_statistics_helpers )
(*rtems_malloc_statistics_helpers->at_malloc)(return_this);
- #if defined(RTEMS_MALLOC_BOUNDARY_HELPERS)
- /*
- * If configured, set the boundary area
- */
- if (rtems_malloc_boundary_helpers)
- (*rtems_malloc_boundary_helpers->at_malloc)(return_this, size);
- #endif
-
return return_this;
}