mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-09 13:12:37 -05:00
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
|
|
@ -553,7 +553,7 @@ void os_display_char (zchar);
|
|||
void os_display_string (const zchar *);
|
||||
void os_draw_picture (int, int, int);
|
||||
void os_erase_area (int, int, int, int);
|
||||
void os_fatal (const char *) __attribute__((noreturn));
|
||||
void os_fatal (const char *) NORETURN_ATTR;
|
||||
void os_finish_with_sample (int);
|
||||
int os_font_data (int, int *, int *);
|
||||
void os_init_screen (void);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue