aboutsummaryrefslogtreecommitdiff
path: root/libgloss/v850
diff options
context:
space:
mode:
Diffstat (limited to 'libgloss/v850')
-rw-r--r--libgloss/v850/sbrk.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libgloss/v850/sbrk.c b/libgloss/v850/sbrk.c
index 76c7d6a..248a092 100644
--- a/libgloss/v850/sbrk.c
+++ b/libgloss/v850/sbrk.c
@@ -6,13 +6,13 @@
caddr_t
_sbrk (int incr)
{
- extern char heap_start; /* Defined by the linker script. */
+ extern char heap_start[]; /* Defined by the linker script. */
static char * heap_end = NULL;
char * prev_heap_end;
char * sp = (char *) & sp;
if (heap_end == NULL)
- heap_end = & heap_start;
+ heap_end = heap_start;
prev_heap_end = heap_end;