From 23412e6f143c099e6c2470ad6bf98a2783eb0452 Mon Sep 17 00:00:00 2001 From: Doug Zongker Date: Thu, 23 Jul 2009 10:16:07 -0700 Subject: fix compile warnings in recovery, change images gcc 4.4 complains about some of the recovery ui functions not being declared. To include the header, we have to fix the 'volatile' declaration (otherwise there's a compiler error). Move the dream-specific images to vendor/htc/dream, make the default images a generic phone. --- default_recovery_ui.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'default_recovery_ui.c') diff --git a/default_recovery_ui.c b/default_recovery_ui.c index a2e4beafe..d4e620403 100644 --- a/default_recovery_ui.c +++ b/default_recovery_ui.c @@ -29,11 +29,11 @@ char* MENU_ITEMS[] = { "reboot system now", "wipe cache partition", NULL }; -int device_toggle_display(char* key_pressed, int key_code) { +int device_toggle_display(volatile char* key_pressed, int key_code) { return key_code == KEY_HOME; } -int device_reboot_now(char* key_pressed, int key_code) { +int device_reboot_now(volatile char* key_pressed, int key_code) { return 0; } -- cgit v1.2.3