Ensure compiles using latest Yagarto.

This commit is contained in:
Richard Barry 2009-09-29 19:32:27 +00:00
parent a961f6daa3
commit 1f12f80eb7
3 changed files with 6 additions and 5 deletions

View file

@ -101,11 +101,11 @@ int _close_r (struct _reent *r, int file)
/***************************************************************************/
/* Register name faking - works in collusion with the linker. */
register char * stack_ptr asm ("sp");
register char * stack_ptr __asm ("sp");
caddr_t _sbrk_r (struct _reent *r, int incr)
{
extern char end asm ("end"); /* Defined by the linker. */
extern char end __asm ("end"); /* Defined by the linker. */
static char * heap_end;
char * prev_heap_end;