diff options
Diffstat (limited to 'src/sam3x8e/main.c')
-rw-r--r-- | src/sam3x8e/main.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/sam3x8e/main.c b/src/sam3x8e/main.c index 63c27cd7..e8bd30ba 100644 --- a/src/sam3x8e/main.c +++ b/src/sam3x8e/main.c @@ -4,7 +4,6 @@ // // This file may be distributed under the terms of the GNU GPLv3 license. -#include "board/misc.h" // alloc_maxsize #include "command.h" // DECL_CONSTANT #include "sam3x8e.h" // WDT #include "sched.h" // sched_main @@ -43,16 +42,6 @@ command_reset(uint32_t *args) } DECL_COMMAND_FLAGS(command_reset, HF_IN_SHUTDOWN, "reset"); -void * __visible -_sbrk(int nbytes) -{ - extern char _end; - static void *heap_ptr = (void *)&_end; - void *pos = heap_ptr; - heap_ptr = pos + nbytes; - return pos; -} - // Main entry point int main(void) |