forked from len0rd/rockbox
Introduce NORETURN_ATTR wrapper for __attribute__((noreturn)), using this and a bit further cleanup in main gets rid of a warning when compiling for android.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27788 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
70ebe46d74
commit
0e2286f226
19 changed files with 71 additions and 35 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue