summaryrefslogtreecommitdiffstats
path: root/apps/plugins/frotz
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2010-08-12 13:38:25 +0000
committerThomas Martitz <kugel@rockbox.org>2010-08-12 13:38:25 +0000
commit0e2286f226c8ce66adb846995eb1bf0b4d92a649 (patch)
treeae47cfb8e2440b0b220e57e4c894390b6c1efd7a /apps/plugins/frotz
parent70ebe46d74dbb10160a878cdb120c9b3e7a8e30c (diff)
downloadrockbox-0e2286f226c8ce66adb846995eb1bf0b4d92a649.tar.gz
rockbox-0e2286f226c8ce66adb846995eb1bf0b4d92a649.tar.bz2
rockbox-0e2286f226c8ce66adb846995eb1bf0b4d92a649.zip
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
Diffstat (limited to 'apps/plugins/frotz')
-rw-r--r--apps/plugins/frotz/frotz.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/frotz/frotz.h b/apps/plugins/frotz/frotz.h
index bc8869cd24..ef3a39d2ce 100644
--- a/apps/plugins/frotz/frotz.h
+++ b/apps/plugins/frotz/frotz.h
@@ -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);