summaryrefslogtreecommitdiff
path: root/os/src
diff options
context:
space:
mode:
Diffstat (limited to 'os/src')
-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;