summaryrefslogtreecommitdiffstats
path: root/firmware/target/arm/tcc780x/sd-tcc780x.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/arm/tcc780x/sd-tcc780x.c')
-rw-r--r--firmware/target/arm/tcc780x/sd-tcc780x.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/firmware/target/arm/tcc780x/sd-tcc780x.c b/firmware/target/arm/tcc780x/sd-tcc780x.c
index 88ccf187f0..7f17e457c9 100644
--- a/firmware/target/arm/tcc780x/sd-tcc780x.c
+++ b/firmware/target/arm/tcc780x/sd-tcc780x.c
@@ -22,6 +22,7 @@
#include "sd.h"
#include "system.h"
#include <string.h>
+#include "gcc_extensions.h"
#include "sdmmc.h"
#include "storage.h"
#include "led.h"
@@ -642,7 +643,7 @@ sd_write_error:
}
}
-static void sd_thread(void) __attribute__((noreturn));
+static void sd_thread(void) NORETURN_ATTR;
static void sd_thread(void)
{
struct queue_event ev;