mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-08-20 01:58:32 -04:00
Ensure compiles using latest Yagarto.
This commit is contained in:
parent
a961f6daa3
commit
1f12f80eb7
3 changed files with 6 additions and 5 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue