summaryrefslogtreecommitdiff
path: root/firmware/export
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/export')
-rw-r--r--firmware/export/panic.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/firmware/export/panic.h b/firmware/export/panic.h
index 7767c675cf..8e35bfff16 100644
--- a/firmware/export/panic.h
+++ b/firmware/export/panic.h
@@ -25,9 +25,6 @@
25#include "config.h" 25#include "config.h"
26#include "gcc_extensions.h" 26#include "gcc_extensions.h"
27 27
28#if defined(CPU_ARM) 28void panicf( const char *fmt, ... ) ATTRIBUTE_PRINTF(1, 2) NORETURN_ATTR;
29void panicf( const char *fmt, ... ) __attribute__ ((naked)) ATTRIBUTE_PRINTF(1, 2); 29
30#else
31void panicf( const char *fmt, ... ) ATTRIBUTE_PRINTF(1, 2);
32#endif
33#endif /* __PANIC_H__ */ 30#endif /* __PANIC_H__ */