From 0e2286f226c8ce66adb846995eb1bf0b4d92a649 Mon Sep 17 00:00:00 2001 From: Thomas Martitz Date: Thu, 12 Aug 2010 13:38:25 +0000 Subject: 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 --- apps/plugins/frotz/frotz.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/plugins') diff --git a/apps/plugins/frotz/frotz.h b/apps/plugins/frotz/frotz.h index bc8869c..ef3a39d 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); -- cgit v1.1