From 7ab3174871715ceeab1344adde6750b8984e00f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20Fr=C3=B6schle?= Date: Sat, 5 Nov 2016 11:40:51 +0000 Subject: [PATCH] fix formatting --- BaS_gcc/exe/basflash_start.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/BaS_gcc/exe/basflash_start.c b/BaS_gcc/exe/basflash_start.c index 141ae64..f5ea0de 100644 --- a/BaS_gcc/exe/basflash_start.c +++ b/BaS_gcc/exe/basflash_start.c @@ -32,12 +32,12 @@ static uint32_t *stackptr = &ownstack[STACKSIZE - 1]; */ void startup(void) { - static uint32_t oldstack; + static uint32_t oldstack; - void basflash(void); - __asm__ __volatile__("move.l sp,%0\n\t" : "=g"(oldstack) : :); - __asm__ __volatile__("move.l %0,sp\n\t" : : "g"(stackptr) : ); - basflash(); - __asm__ __volatile__("move.l %0,sp\n\t" : : "g"(oldstack) : "sp"); - (void) stackptr; /* make compiler happy about unused variables */ + void basflash(void); + __asm__ __volatile__("move.l sp,%0\n\t" : "=g"(oldstack) : :); + __asm__ __volatile__("move.l %0,sp\n\t" : : "g"(stackptr) : ); + basflash(); + __asm__ __volatile__("move.l %0,sp\n\t" : : "g"(oldstack) : "sp"); + (void) stackptr; /* make compiler happy about unused variables */ }