summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas "Pixel" Noble <pixel@nobis-crew.org>2011-01-26 23:56:46 +0100
committerNicolas "Pixel" Noble <pixel@nobis-crew.org>2011-01-26 23:56:46 +0100
commit369a614802c835510bf20ab2b2aa3ce35050c020 (patch)
treec11373a8e8d84652202c422df40a27773dec012f
parente39faba05eb205b964704115a1de89989e9638a9 (diff)
This shouldn't be shared; making heap_end static.
-rw-r--r--os/src/sbrk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/os/src/sbrk.c b/os/src/sbrk.c
index d013f4f..4085970 100644
--- a/os/src/sbrk.c
+++ b/os/src/sbrk.c
@@ -14,7 +14,7 @@ extern uintptr_t __heap_start, __heap_end;
extern uintptr_t __stack_start __attribute__((weak));
/* Low-level bulk RAM allocator -- used by Newlib's Malloc */
-void *heap_end = NULL;
+static void *heap_end = NULL;
PRIVILEGED_FUNCTION void *_sbrk_r(struct _reent *ptr, ptrdiff_t incr)
{
void *prev_heap_end, *next_heap_end, *ret;