diff options
| author | Michael Sevakis <jethead71@rockbox.org> | 2014-08-25 13:55:16 -0400 |
|---|---|---|
| committer | Michael Sevakis <jethead71@rockbox.org> | 2014-08-25 13:55:16 -0400 |
| commit | 2cb274ca77815eab565106d16f2e7592cd5c3650 (patch) | |
| tree | ff323c5d0cd8ea4e96fcd6b5826f383957e02b23 /firmware/export | |
| parent | 6ffb8ffeeed9aca75c278906785a957d72b3ef57 (diff) | |
| download | rockbox-2cb274ca77815eab565106d16f2e7592cd5c3650.zip rockbox-2cb274ca77815eab565106d16f2e7592cd5c3650.tar.gz rockbox-2cb274ca77815eab565106d16f2e7592cd5c3650.tar.bz2 rockbox-2cb274ca77815eab565106d16f2e7592cd5c3650.tar.xz | |
panicf doesn't return so why not tell GCC and $AVE :
Change-Id: I6096576f539bfb02b340b82fabc5019f6756b722
Diffstat (limited to 'firmware/export')
| -rw-r--r-- | firmware/export/panic.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/firmware/export/panic.h b/firmware/export/panic.h index 7767c67..8e35bff 100644 --- a/firmware/export/panic.h +++ b/firmware/export/panic.h @@ -25,9 +25,6 @@ #include "config.h" #include "gcc_extensions.h" -#if defined(CPU_ARM) -void panicf( const char *fmt, ... ) __attribute__ ((naked)) ATTRIBUTE_PRINTF(1, 2); -#else -void panicf( const char *fmt, ... ) ATTRIBUTE_PRINTF(1, 2); -#endif +void panicf( const char *fmt, ... ) ATTRIBUTE_PRINTF(1, 2) NORETURN_ATTR; + #endif /* __PANIC_H__ */ |