summaryrefslogtreecommitdiffstats
path: root/cpukit/libcsupport
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2011-12-06 07:57:10 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2011-12-06 07:57:10 +0000
commit96d3f26e1d289ad4b81813e9c52f59c7309ee03d (patch)
treeb3916b240bddc5914cf98670e068783cc6084f4f /cpukit/libcsupport
parent2011-12-06 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-96d3f26e1d289ad4b81813e9c52f59c7309ee03d.tar.bz2
2011-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
* libcsupport/src/malloc_sbrk_helpers.c: Make malloc_sbrk_initialize, malloc_sbrk_extend_and_allocate static.
Diffstat (limited to 'cpukit/libcsupport')
-rw-r--r--cpukit/libcsupport/src/malloc_sbrk_helpers.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/cpukit/libcsupport/src/malloc_sbrk_helpers.c b/cpukit/libcsupport/src/malloc_sbrk_helpers.c
index e917fd36af..0fbe7ad29c 100644
--- a/cpukit/libcsupport/src/malloc_sbrk_helpers.c
+++ b/cpukit/libcsupport/src/malloc_sbrk_helpers.c
@@ -25,7 +25,7 @@
size_t RTEMS_Malloc_Sbrk_amount;
-void *malloc_sbrk_initialize(
+static void *malloc_sbrk_initialize(
void *starting_address,
size_t length
)
@@ -64,7 +64,7 @@ void *malloc_sbrk_initialize(
return starting_address;
}
-void *malloc_sbrk_extend_and_allocate(
+static void *malloc_sbrk_extend_and_allocate(
size_t size
)
{
@@ -108,5 +108,3 @@ rtems_malloc_sbrk_functions_t rtems_malloc_sbrk_helpers_table = {
malloc_sbrk_initialize,
malloc_sbrk_extend_and_allocate
};
-
-