forked from len0rd/rockbox
panicf doesn't return so why not tell GCC and $AVE :
Change-Id: I6096576f539bfb02b340b82fabc5019f6756b722
This commit is contained in:
parent
6ffb8ffeee
commit
2cb274ca77
3 changed files with 4 additions and 7 deletions
|
|
@ -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__ */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue