summaryrefslogtreecommitdiffstats
path: root/cpukit
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
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')
-rw-r--r--cpukit/ChangeLog5
-rw-r--r--cpukit/libcsupport/src/malloc_sbrk_helpers.c6
2 files changed, 7 insertions, 4 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog
index 74905be8b6..d7582b8b39 100644
--- a/cpukit/ChangeLog
+++ b/cpukit/ChangeLog
@@ -1,5 +1,10 @@
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.
+
+2011-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
+
* libmisc/monitor/mon-network.c: Include <rtems/monitor.h>.
* libmisc/monitor/mon-object.c:
Make rtems_monitor_object_canonical_next_remote,
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
};
-
-